結果
問題 | No.481 1から10 |
ユーザー | cww |
提出日時 | 2017-02-10 22:27:44 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 338 bytes |
コンパイル時間 | 2,287 ms |
コンパイル使用メモリ | 166,080 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-28 06:00:38 |
合計ジャッジ時間 | 2,364 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0; i<(n); i++) #define REP2(i,x,n) for(int i=x; i<(n); i++) struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}star; int main() { vector<int> vc(10); int sum{}; REP( i, 10 ) { cin >> vc[ i ]; sum += vc[ i ]; } cout << 55 - sum << endl; return 0; }