結果
問題 | No.191 供託金 |
ユーザー |
![]() |
提出日時 | 2019-08-17 14:59:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 110 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-24 19:42:05 |
合計ジャッジ時間 | 1,646 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 23 |
ソースコード
n = int(input()) a = list(map(int, input().split())) sum = sum(a) ans =0 if sum != 0: for i in range(n): if a[i]/sum <= 1/10: ans+=30 else: ans = 30*n print(ans)