結果

問題 No.481 1から10
コンテスト
ユーザー A_ru8743731
提出日時 2017-07-08 13:34:02
言語 C++11
(gcc 15.3.0 + boost 1.92.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 1 ms / 2,000 ms
+ 391µs
コード長 565 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 447 ms
コンパイル使用メモリ 101,252 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2026-09-11 06:13:32
合計ジャッジ時間 1,664 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <string>
#include <functional>
#include <numeric>
#include <ctype.h>
#include <cstdlib>
#include <string.h>
#include <cmath>
#include <cstdio>
#include <map>
#include <queue>
#include <utility>

using namespace std;

const int INF = 1000000007;
const double PI = acos(-1.0);


int main()
{
	vector<int> vec;
	int input;

	for (int i = 0; i < 9; i++)
	{
		cin >> input;
		vec.push_back(input);
	}

	int ans = 55 - accumulate(vec.begin(), vec.end(), 0);

	cout << ans << endl;
	
}
0