結果

問題 No.2203 POWER!!!!!
ユーザー おきょん.
提出日時 2023-02-04 19:50:17
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 130 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 267,408 KB
最終ジャッジ日時 2024-07-03 16:23:31
合計ジャッジ時間 4,004 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 TLE * 1 -- * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
ans = 0

for i in a:
    ans += i * sum([i**(x-1) for x in a])
    
print(ans)
0