結果
| 問題 | No.1343 Dividing Digit |
| コンテスト | |
| ユーザー |
_matumo_
|
| 提出日時 | 2021-01-20 18:08:05 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 53 ms / 2,000 ms |
| + 648µs | |
| コード長 | 95 bytes |
| 記録 | |
| コンパイル時間 | 60 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 20,788 KB |
| 最終ジャッジ日時 | 2026-10-06 10:39:28 |
| 合計ジャッジ時間 | 2,863 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
f=lambda:[*map(int,input().split())] N,K=f() A=f() B=sum(A) u=0 for a in A:u=(u*K+a)%B print(u)
_matumo_