結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,840 KB
testcase_01 AC 36 ms
51,712 KB
testcase_02 AC 37 ms
51,456 KB
testcase_03 AC 36 ms
52,224 KB
testcase_04 AC 37 ms
51,840 KB
testcase_05 AC 36 ms
51,840 KB
testcase_06 AC 37 ms
51,968 KB
testcase_07 AC 37 ms
52,224 KB
testcase_08 AC 37 ms
51,456 KB
testcase_09 AC 36 ms
51,840 KB
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 AC 287 ms
76,312 KB
testcase_21 AC 283 ms
75,776 KB
testcase_22 RE -
権限があれば一括ダウンロードができます

ソースコード

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 1 <= n <= 10 ** 18
0