1 #include <stdio.h> 2 int main(){ 3 int n; 4 int a,b; 5 while(~scanf("%d",&n)){ 6 while(n--){ 7 scanf("%d%d",&a,&b); 8 if(a>=b) 9 printf("MMM BRAINS\n"); 10 else 11 printf("NO BRAINS\n"); 12 } 13 } 14 return 0; 15 }
相关文章
- 10-26poj2027
2023-10-26 20:50:04
1 #include <stdio.h> 2 int main(){ 3 int n; 4 int a,b; 5 while(~scanf("%d",&n)){ 6 while(n--){ 7 scanf("%d%d",&a,&b); 8 if(a>=b) 9 printf("MMM BRAINS\n"); 10 else 11 printf("NO BRAINS\n"); 12 } 13 } 14 return 0; 15 }