POJ 2027 No Brainer C++版

题目链接:http://poj.org/problem?id=2027

植物大战僵尸,这个题水的太离谱了!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/***************************************
Problem: 2027 User: awq123
Memory: 240K Time: 0MS
Language: C++ Result: Accepted
***************************************/
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;

int main()
{
int t,m,n;
cin>>t;
while (t--)
{
cin>>m>>n;
if(m>=n)
cout<<"MMM BRAINS"<<endl;
else
cout<<"NO BRAINS"<<endl;
}

}