結果

問題 No.2203 POWER!!!!!
ユーザー おきょん.おきょん.
提出日時 2023-02-04 19:50:17
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 130 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 86,788 KB
実行使用メモリ 263,356 KB
最終ジャッジ日時 2023-09-16 16:21:14
合計ジャッジ時間 4,731 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
75,816 KB
testcase_01 AC 68 ms
71,264 KB
testcase_02 AC 70 ms
71,376 KB
testcase_03 AC 74 ms
75,528 KB
testcase_04 AC 73 ms
75,688 KB
testcase_05 AC 74 ms
75,676 KB
testcase_06 AC 73 ms
75,684 KB
testcase_07 AC 68 ms
71,224 KB
testcase_08 TLE -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
権限があれば一括ダウンロードができます

ソースコード

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