結果

問題 No.308 素数は通れません
ユーザー ayaoniayaoni
提出日時 2021-09-01 02:59:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 549 bytes
コンパイル時間 592 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-08-17 18:15:08
合計ジャッジ時間 12,743 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,152 KB
testcase_01 AC 70 ms
71,312 KB
testcase_02 AC 71 ms
71,400 KB
testcase_03 AC 72 ms
71,096 KB
testcase_04 AC 69 ms
71,184 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 74 ms
71,444 KB
testcase_08 AC 74 ms
71,140 KB
testcase_09 AC 69 ms
71,012 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 70 ms
71,136 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 71 ms
71,016 KB
testcase_16 AC 68 ms
71,072 KB
testcase_17 AC 69 ms
71,204 KB
testcase_18 AC 72 ms
71,188 KB
testcase_19 AC 72 ms
71,300 KB
testcase_20 AC 71 ms
71,120 KB
testcase_21 AC 73 ms
71,208 KB
testcase_22 AC 70 ms
71,208 KB
testcase_23 AC 72 ms
71,104 KB
testcase_24 AC 69 ms
71,064 KB
testcase_25 AC 71 ms
71,404 KB
testcase_26 AC 71 ms
71,240 KB
testcase_27 AC 73 ms
71,176 KB
testcase_28 AC 74 ms
71,016 KB
testcase_29 AC 68 ms
71,068 KB
testcase_30 AC 67 ms
71,208 KB
testcase_31 AC 69 ms
71,016 KB
testcase_32 WA -
testcase_33 AC 70 ms
71,068 KB
testcase_34 AC 74 ms
70,956 KB
testcase_35 AC 70 ms
71,192 KB
testcase_36 AC 69 ms
71,108 KB
testcase_37 AC 71 ms
71,208 KB
testcase_38 AC 71 ms
71,224 KB
testcase_39 AC 72 ms
71,196 KB
testcase_40 AC 73 ms
71,104 KB
testcase_41 AC 72 ms
71,144 KB
testcase_42 AC 70 ms
71,368 KB
testcase_43 AC 70 ms
71,064 KB
testcase_44 AC 74 ms
71,188 KB
testcase_45 AC 71 ms
71,324 KB
testcase_46 AC 71 ms
71,056 KB
testcase_47 AC 69 ms
71,060 KB
testcase_48 AC 74 ms
71,252 KB
testcase_49 AC 71 ms
71,300 KB
testcase_50 AC 68 ms
71,124 KB
testcase_51 AC 70 ms
71,104 KB
testcase_52 AC 73 ms
71,324 KB
testcase_53 AC 73 ms
71,188 KB
testcase_54 AC 70 ms
71,152 KB
testcase_55 AC 77 ms
71,176 KB
testcase_56 AC 70 ms
71,284 KB
testcase_57 AC 67 ms
71,212 KB
testcase_58 AC 67 ms
71,176 KB
testcase_59 AC 68 ms
71,304 KB
testcase_60 AC 70 ms
71,388 KB
testcase_61 AC 72 ms
71,208 KB
testcase_62 AC 76 ms
71,068 KB
testcase_63 AC 74 ms
71,304 KB
testcase_64 AC 74 ms
71,100 KB
testcase_65 AC 72 ms
71,148 KB
testcase_66 AC 68 ms
71,176 KB
testcase_67 AC 67 ms
71,212 KB
testcase_68 AC 67 ms
71,364 KB
testcase_69 AC 72 ms
71,372 KB
testcase_70 AC 73 ms
71,216 KB
testcase_71 AC 73 ms
71,380 KB
testcase_72 AC 69 ms
71,084 KB
testcase_73 AC 73 ms
71,456 KB
testcase_74 AC 73 ms
71,212 KB
testcase_75 AC 72 ms
71,324 KB
testcase_76 WA -
testcase_77 AC 72 ms
71,184 KB
testcase_78 AC 67 ms
71,016 KB
testcase_79 AC 69 ms
71,288 KB
testcase_80 WA -
testcase_81 WA -
testcase_82 AC 71 ms
71,100 KB
testcase_83 AC 72 ms
71,148 KB
testcase_84 WA -
testcase_85 AC 68 ms
70,960 KB
testcase_86 WA -
testcase_87 WA -
testcase_88 AC 69 ms
71,264 KB
testcase_89 AC 67 ms
71,048 KB
testcase_90 WA -
testcase_91 AC 71 ms
71,244 KB
testcase_92 AC 74 ms
71,396 KB
testcase_93 AC 69 ms
71,080 KB
testcase_94 AC 68 ms
71,004 KB
testcase_95 AC 70 ms
71,344 KB
testcase_96 AC 69 ms
71,252 KB
testcase_97 AC 72 ms
71,380 KB
testcase_98 AC 72 ms
71,076 KB
testcase_99 AC 73 ms
71,212 KB
testcase_100 AC 73 ms
71,336 KB
testcase_101 WA -
testcase_102 AC 74 ms
71,000 KB
testcase_103 AC 72 ms
71,336 KB
testcase_104 AC 71 ms
71,188 KB
testcase_105 AC 69 ms
71,356 KB
testcase_106 AC 69 ms
71,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def LS2(): return list(sys.stdin.readline().rstrip())


N = I()
if N == 4:
    ans = 3
elif N == 6:
    ans = 5
elif N in [8,9,10,15,16,22]:
    ans = 7
else:
    ans = 8

print(ans)
0