結果

問題 No.2016 Countdown Divisors
ユーザー siganaisiganai
提出日時 2022-07-22 21:30:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 184 ms / 2,000 ms
コード長 399 bytes
コンパイル時間 449 ms
コンパイル使用メモリ 86,896 KB
実行使用メモリ 80,620 KB
最終ジャッジ日時 2023-09-17 08:57:31
合計ジャッジ時間 5,556 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
78,624 KB
testcase_01 AC 183 ms
80,288 KB
testcase_02 AC 179 ms
80,316 KB
testcase_03 AC 175 ms
80,188 KB
testcase_04 AC 171 ms
80,328 KB
testcase_05 AC 170 ms
80,444 KB
testcase_06 AC 159 ms
80,252 KB
testcase_07 AC 157 ms
80,416 KB
testcase_08 AC 179 ms
80,536 KB
testcase_09 AC 177 ms
80,248 KB
testcase_10 AC 175 ms
80,532 KB
testcase_11 AC 178 ms
80,336 KB
testcase_12 AC 177 ms
80,188 KB
testcase_13 AC 175 ms
80,292 KB
testcase_14 AC 173 ms
80,388 KB
testcase_15 AC 177 ms
80,468 KB
testcase_16 AC 184 ms
80,520 KB
testcase_17 AC 184 ms
80,620 KB
testcase_18 AC 181 ms
80,404 KB
testcase_19 AC 140 ms
78,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env PyPy3

from collections import Counter, defaultdict, deque
import itertools
import re
import math
from functools import reduce
import operator
import bisect
from heapq import *
import functools
mod=998244353

import sys
input=sys.stdin.readline

t = int(input())
s = set([1,3,4,5,7,8])
for _ in range(t):
    n = int(input())
    if n in s:
        print(1)
    else:
        print(2)
0