結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-08-08 03:14:02 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 382 ms |
コンパイル使用メモリ | 58,556 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-19 18:32:03 |
合計ジャッジ時間 | 730 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 |
ソースコード
#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; }