結果
| 問題 |
No.889 素数!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-26 12:15:20 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 276 bytes |
| コンパイル時間 | 394 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 54,240 KB |
| 最終ジャッジ日時 | 2024-07-16 05:06:35 |
| 合計ジャッジ時間 | 4,129 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 55 WA * 6 |
ソースコード
n = int(input())
if n in [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61]:
print("Sosu!")
elif n in [4, 9, 16, 25, 36, 49]:
print("Heihousu!")
elif n in [8, 27]:
print("Ripposu!")
elif n in [1, 6, 28]:
print("Kanzensu!")
else:
print(n)