結果

問題 No.2016 Countdown Divisors
ユーザー 👑 Kazun
提出日時 2022-07-22 21:43:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,396 KB
実行使用メモリ 77,440 KB
最終ジャッジ日時 2024-07-04 05:54:41
合計ジャッジ時間 2,762 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

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