結果

問題 No.2016 Countdown Divisors
ユーザー soraie_soraie_
提出日時 2022-07-22 22:56:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 523 ms / 2,000 ms
コード長 133 bytes
コンパイル時間 790 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2023-09-17 11:34:02
合計ジャッジ時間 9,777 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,820 KB
testcase_01 AC 484 ms
7,976 KB
testcase_02 AC 491 ms
7,788 KB
testcase_03 AC 439 ms
7,856 KB
testcase_04 AC 394 ms
7,780 KB
testcase_05 AC 375 ms
7,800 KB
testcase_06 AC 145 ms
7,924 KB
testcase_07 AC 142 ms
7,852 KB
testcase_08 AC 523 ms
7,812 KB
testcase_09 AC 487 ms
7,780 KB
testcase_10 AC 491 ms
7,816 KB
testcase_11 AC 492 ms
7,868 KB
testcase_12 AC 485 ms
7,740 KB
testcase_13 AC 475 ms
7,820 KB
testcase_14 AC 444 ms
7,828 KB
testcase_15 AC 441 ms
7,916 KB
testcase_16 AC 466 ms
7,820 KB
testcase_17 AC 443 ms
7,912 KB
testcase_18 AC 455 ms
7,856 KB
testcase_19 AC 16 ms
7,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for i in range(n):
    m=int(input())
    if m >= 9:
        print(2)
    else:
        print([-1,1,2,1,1,1,2,1,1][m])
0