結果
問題 |
No.1131 Deviation Score
|
ユーザー |
|
提出日時 | 2020-07-31 18:45:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 258 bytes |
コンパイル時間 | 1,225 ms |
コンパイル使用メモリ | 167,568 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 13:59:36 |
合計ジャッジ時間 | 3,442 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 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-X[i])/2<<endl; }