結果

問題 No.2203 POWER!!!!!
ユーザー dango
提出日時 2023-06-14 16:44:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 360 ms
コンパイル使用メモリ 82,376 KB
実行使用メモリ 96,772 KB
最終ジャッジ日時 2024-06-23 00:42:37
合計ジャッジ時間 2,827 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

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