結果
問題 | No.9001 標準入出力の練習問題(テスト用) |
ユーザー | iodo_shiba |
提出日時 | 2018-08-08 03:14:02 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 502 ms |
コンパイル使用メモリ | 58,628 KB |
実行使用メモリ | 4,348 KB |
最終ジャッジ日時 | 2023-10-19 22:32:26 |
合計ジャッジ時間 | 923 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,348 KB |
testcase_01 | AC | 2 ms
4,348 KB |
ソースコード
#include<iostream> #include<sstream> #include<string> int main(){ std::string line[2]; getline(std::cin,line[0]); std::istringstream firstLine(line[0]); int a,b; firstLine >> a >> b; getline(std::cin,line[1]); std::cout << a+b << ' ' << line[1] << std::endl; return 0; }