結果

問題 No.2269 eN!の整数部分の下1桁
ユーザー shobonvipshobonvip
提出日時 2023-04-14 21:45:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 82,120 KB
実行使用メモリ 76,500 KB
最終ジャッジ日時 2024-04-18 19:06:04
合計ジャッジ時間 3,308 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,212 KB
testcase_01 AC 37 ms
52,964 KB
testcase_02 AC 40 ms
52,188 KB
testcase_03 AC 36 ms
51,952 KB
testcase_04 AC 36 ms
52,484 KB
testcase_05 AC 36 ms
51,892 KB
testcase_06 AC 35 ms
52,500 KB
testcase_07 AC 36 ms
52,848 KB
testcase_08 AC 37 ms
51,556 KB
testcase_09 AC 36 ms
52,380 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 259 ms
76,092 KB
testcase_21 AC 283 ms
75,628 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a=[1,2,5,6,5,6,7,0,1,0]
T = int(input())
assert 1 <= T <= 10 ** 5
for i in range(T):
	n = int(input())
	print(a[n%10])
	assert 0 <= n <= 10 ** 18
0