結果

問題 No.2016 Countdown Divisors
ユーザー FromBooskaFromBooska
提出日時 2023-10-03 14:44:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 307 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 77,628 KB
最終ジャッジ日時 2023-10-03 14:44:20
合計ジャッジ時間 8,247 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,112 KB
testcase_01 AC 307 ms
77,220 KB
testcase_02 AC 288 ms
77,516 KB
testcase_03 AC 267 ms
77,584 KB
testcase_04 AC 250 ms
77,488 KB
testcase_05 AC 238 ms
77,288 KB
testcase_06 AC 181 ms
77,160 KB
testcase_07 AC 153 ms
77,396 KB
testcase_08 AC 283 ms
77,416 KB
testcase_09 AC 286 ms
77,432 KB
testcase_10 AC 286 ms
77,172 KB
testcase_11 AC 293 ms
77,544 KB
testcase_12 AC 286 ms
77,164 KB
testcase_13 AC 287 ms
77,512 KB
testcase_14 AC 275 ms
77,616 KB
testcase_15 AC 274 ms
77,236 KB
testcase_16 AC 288 ms
77,536 KB
testcase_17 AC 275 ms
77,628 KB
testcase_18 AC 276 ms
77,528 KB
testcase_19 AC 76 ms
71,608 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 実験したらN = [1, 3, 4, 5, 7, 8]で1、あとは2だった

one = set([1, 3, 4, 5, 7, 8])
T = int(input())
for t in range(T):
    N = int(input())
    if N in one:
        print(1)
    else:
        print(2)
0