結果
| 問題 |
No.889 素数!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-09-22 09:31:16 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 44 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2024-09-19 03:26:23 |
| 合計ジャッジ時間 | 2,359 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 59 WA * 2 |
ソースコード
#yuki889 s=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61] h=[4,9,16,25,36,49] r=[8,27] k=[6,28] n=int(raw_input()) if n in s: print 'Sosu!' elif n in h: print 'Heihosu!' elif n in r: print 'Ripposu' elif n in k: print 'Kanzensu!' else: print n