結果
| 問題 |
No.2269 eN!の整数部分の下1桁
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-04-14 22:32:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 17,444 KB |
| 最終ジャッジ日時 | 2024-10-10 13:28:38 |
| 合計ジャッジ時間 | 5,043 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 8 TLE * 1 -- * 4 |
ソースコード
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