結果

問題 No.2016 Countdown Divisors
ユーザー とりゐとりゐ
提出日時 2022-08-08 15:24:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 161 ms
コンパイル使用メモリ 81,812 KB
実行使用メモリ 76,140 KB
最終ジャッジ日時 2023-10-19 05:02:43
合計ジャッジ時間 4,154 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
53,364 KB
testcase_01 AC 91 ms
75,684 KB
testcase_02 AC 85 ms
75,676 KB
testcase_03 AC 83 ms
75,684 KB
testcase_04 AC 80 ms
75,680 KB
testcase_05 AC 78 ms
75,680 KB
testcase_06 AC 68 ms
75,664 KB
testcase_07 AC 68 ms
75,668 KB
testcase_08 AC 84 ms
75,684 KB
testcase_09 AC 83 ms
75,684 KB
testcase_10 AC 82 ms
75,696 KB
testcase_11 AC 81 ms
75,688 KB
testcase_12 AC 84 ms
75,688 KB
testcase_13 AC 108 ms
76,100 KB
testcase_14 AC 109 ms
76,104 KB
testcase_15 AC 109 ms
76,108 KB
testcase_16 AC 114 ms
76,100 KB
testcase_17 AC 112 ms
76,140 KB
testcase_18 AC 114 ms
76,020 KB
testcase_19 AC 38 ms
53,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from sys import stdin
input=lambda :stdin.readline()[:-1]

def solve():
  n=int(input())
  if n in [1,3,4,5,7,8]:
    print(1)
  else:
    print(2)

for _ in range(int(input())):
  solve()
0