結果
| 問題 | No.1406 Test | 
| コンテスト | |
| ユーザー |  shojin | 
| 提出日時 | 2024-05-11 21:49:32 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 218 bytes | 
| コンパイル時間 | 4,003 ms | 
| コンパイル使用メモリ | 272,480 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-12-20 08:50:13 | 
| 合計ジャッジ時間 | 4,426 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 9 WA * 13 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
  int N;
  cin >> N;
  
  int sum = 0;
  for(int i = 0; i < N - 1; i++){
    int A;
    cin >> A;
    sum += A;
  }
  
  cout << (100 - sum % N + N - 1) / N;
}
            
            
            
        