結果

問題 No.889 素数!
ユーザー c-yanc-yan
提出日時 2020-07-26 00:10:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 292 bytes
コンパイル時間 442 ms
コンパイル使用メモリ 10,748 KB
実行使用メモリ 8,104 KB
最終ジャッジ日時 2023-09-10 02:19:39
合計ジャッジ時間 4,673 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,912 KB
testcase_02 AC 16 ms
7,948 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 16 ms
7,908 KB
testcase_08 WA -
testcase_09 AC 16 ms
8,000 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 16 ms
7,884 KB
testcase_13 AC 16 ms
7,956 KB
testcase_14 WA -
testcase_15 AC 16 ms
8,048 KB
testcase_16 WA -
testcase_17 AC 16 ms
7,884 KB
testcase_18 AC 16 ms
7,932 KB
testcase_19 AC 17 ms
7,956 KB
testcase_20 WA -
testcase_21 AC 17 ms
7,948 KB
testcase_22 AC 16 ms
7,936 KB
testcase_23 AC 16 ms
7,956 KB
testcase_24 WA -
testcase_25 AC 16 ms
7,912 KB
testcase_26 AC 16 ms
8,048 KB
testcase_27 AC 17 ms
7,992 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 17 ms
7,968 KB
testcase_32 WA -
testcase_33 AC 16 ms
8,056 KB
testcase_34 AC 16 ms
7,940 KB
testcase_35 AC 16 ms
7,972 KB
testcase_36 AC 16 ms
7,932 KB
testcase_37 WA -
testcase_38 AC 16 ms
7,884 KB
testcase_39 AC 16 ms
7,984 KB
testcase_40 AC 16 ms
7,952 KB
testcase_41 WA -
testcase_42 AC 16 ms
7,912 KB
testcase_43 WA -
testcase_44 AC 16 ms
7,916 KB
testcase_45 AC 16 ms
7,936 KB
testcase_46 AC 16 ms
7,888 KB
testcase_47 WA -
testcase_48 AC 16 ms
8,060 KB
testcase_49 AC 17 ms
7,916 KB
testcase_50 AC 16 ms
7,916 KB
testcase_51 AC 16 ms
7,952 KB
testcase_52 AC 15 ms
7,884 KB
testcase_53 WA -
testcase_54 AC 16 ms
7,968 KB
testcase_55 AC 16 ms
7,908 KB
testcase_56 AC 16 ms
7,932 KB
testcase_57 AC 16 ms
7,884 KB
testcase_58 AC 16 ms
7,884 KB
testcase_59 WA -
testcase_60 AC 16 ms
7,908 KB
testcase_61 WA -
testcase_62 AC 16 ms
7,916 KB
testcase_63 AC 15 ms
7,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import isqrt

N = int(input())

if N == 6:
    print('Kanzensu!')
elif N == [8, 27, 64]:
    print('Ripposu!')
elif isqrt(N) * isqrt(N) == N:
    print('Heihosu!')
elif N == [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61]:
    print('Sosu!')
else:
    print(N)
0