結果

問題 No.1131 Deviation Score
ユーザー 👑 CleyL
提出日時 2021-08-08 15:07:43
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 291 bytes
コンパイル時間 597 ms
コンパイル使用メモリ 68,736 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 11:27:16
合計ジャッジ時間 4,368 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
using namespace std;
int main(){
    int n;cin>>n;
    double a = 0;
    vector<int> A(n);
    for(int i = 0; n > i; i++){
        cin>>A[i];
        a+=A[i];
    }
    a/=n;
    for(int i = 0; n > i; i++){
        cout << 50-(a-A[i])/2 << endl;
    }
}
0