結果

問題 No.2016 Countdown Divisors
ユーザー asumo0729asumo0729
提出日時 2022-07-22 21:38:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 154 ms / 2,000 ms
コード長 883 bytes
コンパイル時間 345 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 79,036 KB
最終ジャッジ日時 2023-09-17 09:12:27
合計ジャッジ時間 4,892 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
73,108 KB
testcase_01 AC 157 ms
78,464 KB
testcase_02 AC 157 ms
78,632 KB
testcase_03 AC 154 ms
78,704 KB
testcase_04 AC 151 ms
78,568 KB
testcase_05 AC 148 ms
78,664 KB
testcase_06 AC 136 ms
78,680 KB
testcase_07 AC 135 ms
78,692 KB
testcase_08 AC 152 ms
78,880 KB
testcase_09 AC 154 ms
79,036 KB
testcase_10 AC 154 ms
78,920 KB
testcase_11 AC 155 ms
78,872 KB
testcase_12 AC 153 ms
78,616 KB
testcase_13 AC 159 ms
78,716 KB
testcase_14 AC 157 ms
78,544 KB
testcase_15 AC 159 ms
78,624 KB
testcase_16 AC 157 ms
78,892 KB
testcase_17 AC 156 ms
78,932 KB
testcase_18 AC 158 ms
78,776 KB
testcase_19 AC 117 ms
72,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from operator import itemgetter
from collections import defaultdict, deque
import heapq
from heapq import heapify, heappop, _heapify_max, heappush
from bisect import bisect_left, bisect_right
import math
import itertools
import copy

stdin=sys.stdin
#sys.setrecursionlimit(10 ** 7)
## import pypyjit
## pypyjit.set_param('max_unroll_recursion=-1')

ip=lambda: int(sp())
fp=lambda: float(sp())
lp=lambda:list(map(int,stdin.readline().split()))
sp=lambda:stdin.readline().rstrip()
Yp=lambda:print('Yes')
Np=lambda:print('No')
inf = 1 << 60
inf = float('inf')
mod = 10 ** 9 + 7
mod = 998244353
eps = 1e-9
sortkey1 = itemgetter(0)
sortkey2 = lambda x: (x[0], x[1])



###############################################################
T = ip()
one = [1, 3, 4, 5, 7, 8]
for _ in range(T):
    N = ip()
    if N in one:
        ans = 1
    else:
        ans = 2
    print(ans)
    
0