結果

問題 No.191 供託金
ユーザー cologne
提出日時 2022-08-29 18:49:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 43 ms / 5,000 ms
コード長 215 bytes
コンパイル時間 483 ms
コンパイル使用メモリ 81,664 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-11-06 16:19:10
合計ジャッジ時間 2,418 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    N = int(input())
    *A, = map(int, input().split())
    z = sum(A)
    ans = 0
    for v in A:
        if v * 10 <= z:
            ans += 1
    print(ans*30)


if __name__ == '__main__':
    main()
0