結果

問題 No.2016 Countdown Divisors
ユーザー nohakai3nohakai3
提出日時 2022-07-24 20:44:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 284 ms / 2,000 ms
コード長 164 bytes
コンパイル時間 152 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 9,264 KB
最終ジャッジ日時 2023-09-20 21:05:17
合計ジャッジ時間 5,911 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,768 KB
testcase_01 AC 284 ms
9,240 KB
testcase_02 AC 281 ms
9,144 KB
testcase_03 AC 250 ms
9,264 KB
testcase_04 AC 225 ms
8,860 KB
testcase_05 AC 216 ms
8,836 KB
testcase_06 AC 87 ms
8,420 KB
testcase_07 AC 88 ms
8,696 KB
testcase_08 AC 275 ms
9,172 KB
testcase_09 AC 277 ms
9,120 KB
testcase_10 AC 272 ms
9,216 KB
testcase_11 AC 279 ms
9,200 KB
testcase_12 AC 283 ms
9,108 KB
testcase_13 AC 261 ms
8,900 KB
testcase_14 AC 253 ms
9,204 KB
testcase_15 AC 247 ms
9,044 KB
testcase_16 AC 269 ms
9,188 KB
testcase_17 AC 257 ms
9,092 KB
testcase_18 AC 260 ms
9,092 KB
testcase_19 AC 15 ms
7,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=[1,3,4,5,7,8]
p=[]
for i in range(n):
    k=int(input())
    if k in l:
        p.append(1)
    else:
        p.append(2)

for x in p:
    print(x)
0