結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー Em_epsilon
提出日時 2018-01-17 00:49:13
言語 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 / 1,000 ms
+ 379µs
コード長 380 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 302 ms
コンパイル使用メモリ 71,776 KB
実行使用メモリ 7,852 KB
最終ジャッジ日時 2026-10-07 02:42:21
合計ジャッジ時間 1,144 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <string>

int main()
{

	std::string msg = "Hello world!";
	std::string input1;
	std::string input2;

	std::cin >> input1 >> input2;
	
	std::string input3;
	std::cin >> input3;

	int i_input1 = std::stoi(input1);
	int i_input2 = std::stoi(input2);
	
	int result = i_input1 + i_input2;
	std::cout << result << " " << input3 << std::endl;

	return 0;

}
0