Logo
(追記) (追記ここまで)

4562번 - No Brainer 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB72905230501773.595%

문제

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.

출력

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".

제한

예제 입력 1

3
4 5
3 3
4 3

예제 출력 1

NO BRAINS
MMM BRAINS
MMM BRAINS

힌트

출처

ICPC > Regionals > North America > South Central USA Regional > 2004 South Central USA Regional Programming Contest 8번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /