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