結果

問題 No.191 供託金
ユーザー deepjugglingdeepjuggling
提出日時 2023-06-11 22:15:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 143 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2025-01-03 04:15:30
合計ジャッジ時間 2,316 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
sam = sum(a)
ans = 0
for i in range(n):
    if a[i]*10 <= sam:
        ans += 30
print(ans)
0