結果

問題 No.2016 Countdown Divisors
ユーザー 👑 KazunKazun
提出日時 2022-07-22 21:43:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 1,782 ms
コンパイル使用メモリ 86,052 KB
実行使用メモリ 77,924 KB
最終ジャッジ日時 2023-09-17 09:27:26
合計ジャッジ時間 3,699 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
71,024 KB
testcase_01 AC 129 ms
77,452 KB
testcase_02 AC 107 ms
77,504 KB
testcase_03 AC 104 ms
77,316 KB
testcase_04 AC 102 ms
77,404 KB
testcase_05 AC 100 ms
77,084 KB
testcase_06 AC 87 ms
76,308 KB
testcase_07 AC 86 ms
76,392 KB
testcase_08 AC 106 ms
77,420 KB
testcase_09 AC 107 ms
77,408 KB
testcase_10 AC 103 ms
77,416 KB
testcase_11 AC 106 ms
77,672 KB
testcase_12 AC 107 ms
77,424 KB
testcase_13 AC 103 ms
77,628 KB
testcase_14 AC 102 ms
77,556 KB
testcase_15 AC 101 ms
77,924 KB
testcase_16 AC 104 ms
77,628 KB
testcase_17 AC 105 ms
77,592 KB
testcase_18 AC 105 ms
77,808 KB
testcase_19 AC 73 ms
70,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    N=int(input())
    if N in {1,3,4,5,7,8}:
        return 1
    else:
        return 2

import sys
input=sys.stdin.readline
write=sys.stdout.write

T=int(input())
Ans=[0]*T
for t in range(T):
    Ans[t]=solve()

write("\n".join(map(str,Ans)))
0