結果
| 問題 |
No.16 累乗の加算
|
| コンテスト | |
| ユーザー |
foumi
|
| 提出日時 | 2019-05-01 07:30:46 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 142 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 33,300 KB |
| 最終ジャッジ日時 | 2024-12-31 12:08:10 |
| 合計ジャッジ時間 | 67,173 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 TLE * 11 |
ソースコード
x, n = map(int,input().split())
power_list = list(map(int, input().split()))
ans = 0
for i in power_list:
ans += x**i
print(ans % 1000003)
foumi