結果
| 問題 | 
                            No.191 供託金
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ninoinui
                         | 
                    
| 提出日時 | 2020-01-16 10:12:34 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 264 bytes | 
| コンパイル時間 | 1,690 ms | 
| コンパイル使用メモリ | 168,816 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-23 10:43:48 | 
| 合計ジャッジ時間 | 2,649 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 22 WA * 1 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> C(N);
  int x = 0, y = 0;
  for (int i = 0; i < N; i++) {
    cin >> C.at(i);
    x += C.at(i) / 10;
  }
  while (N--) if (C.at(N) <= x) y++;
  cout << y * 30 << "\n";
}
            
            
            
        
            
ninoinui