結果
| 問題 | 
                            No.889 素数!
                             | 
                    
| コンテスト | |
| ユーザー | 
                             popketle
                         | 
                    
| 提出日時 | 2019-09-22 06:56:14 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 298 bytes | 
| コンパイル時間 | 120 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-09-19 03:23:07 | 
| 合計ジャッジ時間 | 3,723 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | WA * 61 | 
ソースコード
n=int(input())
for i in range(1,n+1):
    if n%i==0:
        pass
    else:
        print('')
        exit()
root=[4,6,9,16,25]
cubi=[8,27]
perf=[5,28]
if n in root:
    print('Heihosu!')
    exit()
elif n in cubi:
    print('Ripposu!')
    exit()
elif n in perf:
    print('Kanzensu!')
    exit()
            
            
            
        
            
popketle