포럼
문제 ICPC00252

B. Baby Bites

스페셜 저지 — 출력을 사용자 정의 프로그램으로 검사하므로 여러 정답이 인정될 수 있습니다.
설명

Arild just turned \(1\) year old, and is currently learning how to count. His favorite thing to count is how many mouthfuls he has in a meal: every time he gets a bite, he will count it by saying the number out loud.

Unfortunately, talking while having a mouthful sometimes causes Arild to mumble incomprehensibly, making it hard to know how far he has counted. Sometimes you even suspect he loses his count! You decide to write a program to determine whether Arild's counting makes sense or not.

제약
입력 형식

The first line of input contains an integer \(n\) (\(1 \le n \le 1\,000\)), the number of bites Arild receives. Then second line contains \(n\) space-separated words spoken by Arild, the \(i\)'th of which is either a non-negative integer \(a_i\) (\(0 \le a_i \le 10\,000\)) or the string "mumble".

출력 형식

If Arild's counting might make sense, print the string "makes sense". Otherwise, print the string "something is fishy".

예제 1
입력
5
1 2 3 mumble 5
출력
makes sense
예제 2
입력
8
1 2 3 mumble mumble 7 mumble 8
출력
something is fishy
예제 3
입력
3
mumble mumble mumble
출력
makes sense
문제 정보

생성자가 기록되지 않았습니다.

출처 ICPC NCPC 2018

평가 및 의견

B. Baby Bites

개요
출제자 난이도 Unrated 레이팅 미적용 의견 0 / 1 공개 집계 (커뮤니티 난이도, 주요 주제, 품질)는 의견이 충분히 모이면 공개됩니다.

Log in to rate problems.

개별 의견

아직 의견이 없습니다. 자격이 된다면 위 양식에서 가장 먼저 평가해 보세요.

풀이 제출

B. Baby Bites

게스트로 둘러보고 있습니다. 로그인하면 풀이를 제출하고 진행 상황을 확인할 수 있습니다. 로그인하고 제출하기
공개
C++20 Tab 들여쓰기 · Ctrl+/ 주석 토글 · Enter 자동 들여쓰기
1 1 1 0 공백: 4 · UTF-8