#include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; scanf("%d",&n); while(n--){ scanf("%d%d",&x,&y); if(x>=y)printf("MMM BRAINS\n"); else printf("NO BRAINS\n"); } return 0; }
2024-04-02 15:11:22
#include<iostream> #include<cstdio> using namespace std; int main(){ int n,x,y; scanf("%d",&n); while(n--){ scanf("%d%d",&x,&y); if(x>=y)printf("MMM BRAINS\n"); else printf("NO BRAINS\n"); } return 0; }