結果
問題 | No.191 供託金 |
ユーザー | 👑 rin204 |
提出日時 | 2020-06-09 21:23:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 5,000 ms |
コード長 | 138 bytes |
コンパイル時間 | 387 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-01-02 20:08:21 |
合計ジャッジ時間 | 2,371 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
n = int(input()) c = list(map(int, input().split())) th = sum(c) / 10 ans = 0 for num in c: if num <= th: ans += 30 print(ans)