結果
| 問題 | No.16 累乗の加算 |
| コンテスト | |
| ユーザー |
gim
|
| 提出日時 | 2017-09-13 16:08:17 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 116 bytes |
| 記録 | |
| コンパイル時間 | 126 ms |
| コンパイル使用メモリ | 77,148 KB |
| 最終ジャッジ日時 | 2025-12-04 00:38:50 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 11 |
ソースコード
x, N=map(int, raw_input().split())
a=map(int, raw_input().split())
s=0
for i in a:
s+=x**i
print s%1000003
gim