Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

偶尔做做水题让你精神百倍,信心十足,何乐而不为。让它存在肯定是有它的道理的。

Posted by ajioy at 2011-04-13 14:50:02 on Problem 2027
不知道有没有更好的方法求解,望指教!
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator