結果

問題 No.191 供託金
ユーザー No-RaNo-Ra
提出日時 2017-08-06 10:48:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 5,000 ms
コード長 232 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-11 22:43:22
合計ジャッジ時間 1,789 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
C = input().split()
C = [int(i) for i in C]
sum = 0
for i in range(0, N):
    sum = sum + C[i]

th = sum / 10

deposit = 0
for i in range(0, N):
    if C[i] <= th:
        deposit = deposit + 1

print(deposit * 30)
0