結果

問題 No.191 供託金
ユーザー HAGI_TAROHAGI_TARO
提出日時 2021-10-24 08:08:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 131 bytes
コンパイル時間 262 ms
コンパイル使用メモリ 82,184 KB
実行使用メモリ 53,988 KB
最終ジャッジ日時 2024-04-09 19:25:52
合計ジャッジ時間 2,114 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
52,592 KB
testcase_01 AC 33 ms
52,820 KB
testcase_02 AC 31 ms
53,160 KB
testcase_03 AC 32 ms
51,920 KB
testcase_04 AC 31 ms
52,680 KB
testcase_05 AC 33 ms
52,820 KB
testcase_06 AC 34 ms
52,544 KB
testcase_07 AC 33 ms
52,464 KB
testcase_08 AC 33 ms
52,620 KB
testcase_09 AC 32 ms
52,376 KB
testcase_10 AC 34 ms
52,984 KB
testcase_11 AC 32 ms
52,612 KB
testcase_12 AC 33 ms
51,936 KB
testcase_13 AC 32 ms
52,840 KB
testcase_14 AC 32 ms
53,988 KB
testcase_15 AC 32 ms
51,944 KB
testcase_16 AC 31 ms
51,884 KB
testcase_17 AC 33 ms
52,240 KB
testcase_18 AC 32 ms
52,244 KB
testcase_19 AC 33 ms
52,608 KB
testcase_20 AC 32 ms
53,008 KB
testcase_21 AC 32 ms
52,944 KB
testcase_22 AC 33 ms
52,376 KB
testcase_23 AC 33 ms
52,684 KB
testcase_24 AC 34 ms
52,280 KB
testcase_25 AC 32 ms
53,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
C = list(map(int,input().split()))
x = sum(C) / 10
ans = 0
for i in C:
    if i <= x:
        ans += 30
print(ans)
0