結果
問題 | No.191 供託金 |
ユーザー |
|
提出日時 | 2017-10-22 15:23:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 5,000 ms |
コード長 | 234 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-21 13:47:17 |
合計ジャッジ時間 | 1,775 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
def main(): N = int(input()) C = [int(c) for c in input().split()] threshold = sum(C) / 10 ans = sum(30 for c in C if c <= threshold) print(ans) if __name__ == '__main__': main()