結果

問題 No.2016 Countdown Divisors
ユーザー ShirotsumeShirotsume
提出日時 2022-07-22 21:58:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 292 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 78,336 KB
最終ジャッジ日時 2023-09-17 09:57:27
合計ジャッジ時間 3,978 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,188 KB
testcase_01 AC 116 ms
77,264 KB
testcase_02 AC 112 ms
77,544 KB
testcase_03 AC 110 ms
77,372 KB
testcase_04 AC 107 ms
77,332 KB
testcase_05 AC 107 ms
77,496 KB
testcase_06 AC 96 ms
77,296 KB
testcase_07 AC 95 ms
77,300 KB
testcase_08 AC 113 ms
77,280 KB
testcase_09 AC 111 ms
77,456 KB
testcase_10 AC 112 ms
77,316 KB
testcase_11 AC 111 ms
77,556 KB
testcase_12 AC 111 ms
77,632 KB
testcase_13 AC 129 ms
77,864 KB
testcase_14 AC 130 ms
77,680 KB
testcase_15 AC 128 ms
77,744 KB
testcase_16 AC 134 ms
78,220 KB
testcase_17 AC 132 ms
77,592 KB
testcase_18 AC 131 ms
78,336 KB
testcase_19 AC 73 ms
71,092 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
INF = 2 ** 63 - 1
mod = 998244353

for i in range(ii()):
    n = ii()
    if n in [1, 3, 4, 5, 7, 8]:
        print(1)
    else:
        print(2)
0