题解与讨论区 1024: Dr. Firepot

题解与讨论区 1024: Dr. Firepot

[命题人 : ]
时间限制 : 1.000 sec  内存限制 : 29 MB

返回问题页面

题目描述

暑假ACM集训的某一天,Dr. Firepot and Mr. Nartrosh 正在切题,其中有一个题目非常的有意义,当时他俩就这个题目讨论了很久,所以对于这道题目一直记忆犹新,于是他俩准备把这个题目推荐给你们,鉴于保持原汁原味,他俩准备不作修改的把这个题目告诉大家,让你们来分享他们当时的成就感?,题目描述是这样的:“Zombies love to eat brains. Yum. We give two number “x, y”, x is the number of brains, y is the number of the brains the zombie requires to stay alive. Tell him “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, tell him "NO BRAINS".

第1024题的题解