結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー Em_epsilon
提出日時 2018-01-17 00:49:13
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 380 bytes
コンパイル時間 440 ms
コンパイル使用メモリ 56,580 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-24 05:58:27
合計ジャッジ時間 827 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#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