21132_NoBrainer

2022-5-16 18:18| 发布者: Hocassian| 查看: 45| 评论: 0|原作者: 肇庆学院ACM合集

摘要:
C:\Users\Administrator\Downloads\2019-10-12-10-14-3-89504882103100-Problem List-采集的数据-后羿采集器.html

Pro.ID

21132

Title

No Brainer

Title链接

http://10.20.2.8/oj/exercise/problem?problem_id=21132

AC

192

Submit

322

Ratio

59.63%

时间&空间限制

  • Time Limit: 0/0 MS (Java/Others)     Memory Limit: 0/0 K (Java/Others)
  • 描述

    Zombies love to eat brains. Yum.

    输入

    The first line contains a single integer n indicating the number of data sets.

    The following n lines each represent a data set. Each data set will be formatted according to the following description:

    A single data set consists of a line "X Y", where X is the number of brains the zombie eats and Y is the number of brains the zombie requires to stay alive.

    输出

    Description

    Zombies love to eat brains. Yum.

    Input

    The first line contains a single integer n indicating the number of data sets.

    The following n lines each represent a data set. Each data set will be formatted according to the following description:

    A single data set consists of a line "X Y", where X is the number of brains the zombie eats and Y is the number of brains the zombie requires to stay alive.

    Output

    For each data set, there will be exactly one line of output. This line will be "MMM BRAINS" if the number of brains the zombie eats is greater than or equal to the number of brains the zombie requires to stay alive. Otherwise, the line will be "NO BRAINS".

    Sample Input

    3
    4 5
    3 3
    4 3

    Sample Output

    NO BRAINS
    MMM BRAINS
    MMM BRAINS

    Hint

    请忽略本题。

    Source

    样例输入

    3
    4 5
    3 3
    4 3

    样例输出

    NO BRAINS
    MMM BRAINS
    MMM BRAINS

    提示

    请忽略本题。


    路过

    雷人

    握手

    鲜花

    鸡蛋

    最新评论

    返回顶部