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

13773번 - Olympic Games 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB117443139137.345%

문제

The Olympic Games in Rio cannot have escaped your attention! 2016 is a summer Olympics year.

The modern summer Olympic Games were first held in 1896, and have been held at 4 yearly intervals since then, except during the two world wars (1914 to 1918 and 1939 to 1945). The next games are scheduled to be held in Tokyo in 4 years time.

입력

Input will consist of a list of years, one per line, in the range 1860 to 2030 inclusive. The final year will be 0 – do not process that year.

출력

Output is one line per year. The year is given followed by:

Summer Olympics - if the summer Olympic Games were held, or are scheduled to be held in that year.

Games cancelled - if the summer games should have been held but there was a war.

No city yet chosen - if it is a future summer Olympic year but no city has yet been awarded the games

No summer games - otherwise.

제한

예제 입력 1

1896
1902
1916
2024
2016
0

예제 출력 1

1896 Summer Olympics
1902 No summer games
1916 Games cancelled
2024 No city yet chosen
2016 Summer Olympics

힌트

출처

ICPC > Regionals > South Pacific > South Pacific Region > New Zealand Programming Contest > NZPC 2016 C번

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

출처

대학교 대회

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

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