結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
iodo_shiba
|
| 提出日時 | 2018-08-08 03:14:02 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 444 ms |
| コンパイル使用メモリ | 74,604 KB |
| 実行使用メモリ | 7,968 KB |
| 最終ジャッジ日時 | 2026-04-08 06:20:54 |
| 合計ジャッジ時間 | 1,123 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
iodo_shiba