結果

問題 No.2016 Countdown Divisors
ユーザー ikomaikoma
提出日時 2022-07-22 22:56:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 174 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 87,176 KB
実行使用メモリ 77,896 KB
最終ジャッジ日時 2023-09-17 11:31:45
合計ジャッジ時間 4,027 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,268 KB
testcase_01 AC 117 ms
77,228 KB
testcase_02 AC 118 ms
77,292 KB
testcase_03 AC 113 ms
77,340 KB
testcase_04 AC 108 ms
77,300 KB
testcase_05 AC 108 ms
77,288 KB
testcase_06 AC 96 ms
77,248 KB
testcase_07 AC 95 ms
77,296 KB
testcase_08 AC 114 ms
77,244 KB
testcase_09 AC 112 ms
77,496 KB
testcase_10 AC 112 ms
77,360 KB
testcase_11 AC 112 ms
77,432 KB
testcase_12 AC 110 ms
77,264 KB
testcase_13 AC 130 ms
77,428 KB
testcase_14 AC 131 ms
77,736 KB
testcase_15 AC 128 ms
77,664 KB
testcase_16 AC 133 ms
77,680 KB
testcase_17 AC 132 ms
77,896 KB
testcase_18 AC 135 ms
77,568 KB
testcase_19 AC 72 ms
71,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

def solve(n):
    if n in [1,3,4,5,7,8]:return 1
    return 2

T=int(input())
for _ in range(T):
    N=int(input())
    print(solve(N))
0