#include<stdio.h>
//#include<stdlib.h>
//#include<time.h>
int main()
{
// srand(time(0));
// int number=rand()%100+1;
int number,ans,count = 1,time=0;
scanf("%d %d",&number,&time);
while(1){
scanf("%d",&ans);
if(ans<0||count>time){
printf("Game Over\n");
return 0;
}
if(ans==number){
if(count==1)
{
printf("Bingo!\n");
}
else if(count<=3)
{
printf("Lucky You!\n");
}
else
{
printf("Good Guess!\n");
}break;
}else if(ans<number){
printf("Too small\n");
count +=1;
}else if(ans>number){
printf("Too big\n");
count +=1;
}
}
return 0;
}
都怪我没好好看题干,随机数需要自己随便给我是第一次见,谜底就在谜面啊哈哈哈哈