結果
| 問題 |
No.16 累乗の加算
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-02-14 17:26:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 134 bytes |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 32,260 KB |
| 最終ジャッジ日時 | 2024-09-13 11:28:32 |
| 合計ジャッジ時間 | 6,643 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 11 |
ソースコード
x, cnt = map(int,input().split())
ans = 0
a = list(int(i) for i in input().split())
for i in a:
ans += pow(x,i)
print(ans%1000003)