結果
問題 |
No.1131 Deviation Score
|
ユーザー |
![]() |
提出日時 | 2021-11-24 17:02:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 272 bytes |
コンパイル時間 | 1,812 ms |
コンパイル使用メモリ | 167,964 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-27 02:44:50 |
合計ジャッジ時間 | 4,375 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 1 WA * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> a(n); int sum=0; for(int i=0; i<n; i++){ cin >> a[i]; sum += a[i]; } for(int i=0; i<n; i++){ cout << 50-(sum-a[i])/2 << endl; } }