結果

問題 No.2203 POWER!!!!!
ユーザー dangodango
提出日時 2023-06-14 16:44:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 154 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 86,816 KB
実行使用メモリ 103,872 KB
最終ジャッジ日時 2023-09-05 04:01:50
合計ジャッジ時間 4,055 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,116 KB
testcase_01 AC 71 ms
71,088 KB
testcase_02 AC 69 ms
70,972 KB
testcase_03 AC 71 ms
71,076 KB
testcase_04 AC 74 ms
71,180 KB
testcase_05 AC 70 ms
71,212 KB
testcase_06 AC 70 ms
71,316 KB
testcase_07 AC 70 ms
71,412 KB
testcase_08 AC 83 ms
76,752 KB
testcase_09 AC 103 ms
83,404 KB
testcase_10 AC 125 ms
90,276 KB
testcase_11 AC 154 ms
99,964 KB
testcase_12 AC 82 ms
77,096 KB
testcase_13 AC 137 ms
103,532 KB
testcase_14 AC 139 ms
103,544 KB
testcase_15 AC 138 ms
103,608 KB
testcase_16 AC 139 ms
103,872 KB
testcase_17 AC 140 ms
103,612 KB
testcase_18 AC 74 ms
71,044 KB
testcase_19 AC 75 ms
71,260 KB
testcase_20 AC 74 ms
71,044 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
R=0
for i in range(1,9):
    for j in range(1,9):
        R+=(A.count(i)*A.count(j)*(i**j))
print(R)
0