結果
| 問題 |
No.16 累乗の加算
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-25 08:13:34 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 139 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 32,544 KB |
| 最終ジャッジ日時 | 2024-12-22 12:47:59 |
| 合計ジャッジ時間 | 68,089 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 TLE * 11 |
ソースコード
x, n = map(int,input().split())
a = list(map(int, input().split()))
total = 0
for ai in a:
total += pow(x, ai) % 1000003
print(total)