結果
| 問題 |
No.1343 Dividing Digit
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-14 22:42:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 125 bytes |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 19,492 KB |
| 最終ジャッジ日時 | 2024-10-06 00:10:01 |
| 合計ジャッジ時間 | 4,505 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | TLE * 1 -- * 21 |
ソースコード
N,K=map(int,input().split()) A=list(map(int,input().split())) x=sum([A[-(i+1)]*(K**i) for i in range(N)]) y=sum(A) print(x%y)