結果
| 問題 |
No.1131 Deviation Score
|
| ユーザー |
|
| 提出日時 | 2020-07-31 18:47:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 1,767 ms |
| コンパイル使用メモリ | 168,120 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-06 14:04:55 |
| 合計ジャッジ時間 | 3,514 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
int main(){
int N; cin>>N;
vector<int>X(N);
int ans=0;
rep(i,N){
cin>>X[i];
ans+=X[i];
}
rep(i,N)cout<<50-(ans/N-X[i])/2<<endl;
}