結果
問題 |
No.191 供託金
|
ユーザー |
![]() |
提出日時 | 2017-06-03 14:08:49 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 187 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 04:29:29 |
合計ジャッジ時間 | 1,255 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 23 |
ソースコード
def sum(n, lst): cnt = 0 for i in range(0, n): cnt += lst[i] return cnt n = int(raw_input()) c = map(int, raw_input().split()) vote = sum(n, c) cnt = 0 for i in range(0, n): if c[i] <= vote / 10: cnt += 1 print cnt