結果
| 問題 | 
                            No.889 素数!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-09-22 09:33:38 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 13 ms / 2,000 ms | 
| コード長 | 256 bytes | 
| コンパイル時間 | 49 ms | 
| コンパイル使用メモリ | 6,940 KB | 
| 実行使用メモリ | 6,272 KB | 
| 最終ジャッジ日時 | 2024-09-19 03:26:28 | 
| 合計ジャッジ時間 | 2,301 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 61 | 
ソースコード
#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