結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
sk113
|
| 提出日時 | 2021-02-26 21:33:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 1,606 ms |
| コンパイル使用メモリ | 165,200 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-02 14:06:51 |
| 合計ジャッジ時間 | 2,231 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 22 |
ソースコード
#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-1)/n<<endl;
}
sk113