結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-06-07 17:54:31 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 238 bytes |
| 記録 | |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 37,436 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2026-01-01 01:24:04 |
| 合計ジャッジ時間 | 1,557 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 23 |
ソースコード
#include <stdio.h>
int main(){
int n, v, vote = 0, cnt = 0, i;
int c[100];
scanf("%d", &n);
for(i=0; i<n; i++){
scanf("%d", &v);
c[i] = v;
vote += v;
}
vote /= 10;
while(n--) if(c[n] <= vote) cnt++;
printf("%d\n", cnt*30);
}