結果
| 問題 | No.2269 eN!の整数部分の下1桁 |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-04-14 22:49:03 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 208 bytes |
| 記録 | |
| コンパイル時間 | 542 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-04-26 15:40:41 |
| 合計ジャッジ時間 | 9,235 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 11 |
ソースコード
T=int(input())
for tests in range(T):
N=int(input())
ANS=0
now=1
x=N%10
for i in range(20):
ANS+=now
now*=x
x-=1
now%=10
x%=10
print(ANS%10)
titia