結果

問題 No.481 1から10
ユーザー okkuukenkenokkuukenken
提出日時 2018-10-03 15:00:26
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 58,536 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-12 10:21:37
合計ジャッジ時間 924 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <numeric>
using namespace std;

int main() {
	vector<int> b(9);
	for (auto &x : b) cin >> x;
	cout << 55 - accumulate(b.begin(), b.end(), 0) << endl;
}
0