結果

問題 No.191 供託金
ユーザー deepjugglingdeepjuggling
提出日時 2023-06-11 22:15:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 5,000 ms
コード長 143 bytes
コンパイル時間 375 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 71,680 KB
最終ジャッジ日時 2023-08-31 02:06:47
合計ジャッジ時間 3,409 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
71,300 KB
testcase_01 AC 60 ms
71,120 KB
testcase_02 AC 60 ms
71,352 KB
testcase_03 AC 60 ms
71,120 KB
testcase_04 AC 63 ms
71,240 KB
testcase_05 AC 59 ms
71,644 KB
testcase_06 AC 61 ms
71,364 KB
testcase_07 AC 61 ms
71,164 KB
testcase_08 AC 61 ms
71,296 KB
testcase_09 AC 63 ms
71,276 KB
testcase_10 AC 61 ms
71,352 KB
testcase_11 AC 61 ms
71,660 KB
testcase_12 AC 63 ms
71,580 KB
testcase_13 AC 62 ms
71,412 KB
testcase_14 AC 63 ms
71,352 KB
testcase_15 AC 60 ms
71,240 KB
testcase_16 AC 62 ms
71,124 KB
testcase_17 AC 64 ms
71,428 KB
testcase_18 AC 61 ms
71,152 KB
testcase_19 AC 59 ms
71,440 KB
testcase_20 AC 62 ms
71,580 KB
testcase_21 AC 62 ms
71,472 KB
testcase_22 AC 62 ms
71,664 KB
testcase_23 AC 60 ms
71,444 KB
testcase_24 AC 60 ms
71,236 KB
testcase_25 AC 61 ms
71,680 KB
権限があれば一括ダウンロードができます

ソースコード

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