結果
| 問題 | 
                            No.16 累乗の加算
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-06-17 09:51:39 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 129 bytes | 
| コンパイル時間 | 301 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 34,948 KB | 
| 最終ジャッジ日時 | 2024-11-27 02:52:50 | 
| 合計ジャッジ時間 | 67,362 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 3 TLE * 11 | 
ソースコード
x, N = map(int, input().split())
l = list(map(int, input().split()))
ans = 0
for l_i in l:
    ans += x**l_i
print(ans%1000003)