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