結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
sk113
|
| 提出日時 | 2021-02-26 21:31:53 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 213 bytes |
| コンパイル時間 | 1,589 ms |
| コンパイル使用メモリ | 166,536 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-02 14:03:15 |
| 合計ジャッジ時間 | 2,341 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int sum;
int main(){
int n;cin>>n;
for(int i=1;i<n;i++){
int a;cin>>a;
sum+=a;
}
cout<<(100+sum)/n-sum/n<<endl;
}
sk113