結果
| 問題 |
No.1131 Deviation Score
|
| ユーザー |
shojin
|
| 提出日時 | 2024-05-12 22:19:01 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 246 bytes |
| コンパイル時間 | 3,639 ms |
| コンパイル使用メモリ | 276,196 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-20 09:15:31 |
| 合計ジャッジ時間 | 7,630 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
vector<int> x(N);
int A = 0;
for(auto &nx : x){
cin >> nx;
A += nx;
}
for(auto nx : x) cout << floor(50 * N - (A - nx * N) / 2) / N << endl;
}
shojin