結果

問題 No.2016 Countdown Divisors
ユーザー とりゐ
提出日時 2022-08-08 15:24:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 188 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 76,800 KB
最終ジャッジ日時 2024-09-19 01:20:02
合計ジャッジ時間 3,016 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

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