| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
偶尔做做水题让你精神百倍,信心十足,何乐而不为。让它存在肯定是有它的道理的。不知道有没有更好的方法求解,望指教!
#include <stdio.h>
int main()
{
int a,b;
int n;
scanf("%d",&n);
while(scanf("%d%d",&a,&b)!=EOF&&n--)
{
if(a>=b)
printf("MMM BRAINS\n");
else
printf("NO BRAINS\n");
}
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator