結果
問題 | No.597 concat |
ユーザー |
|
提出日時 | 2017-11-24 22:27:03 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 467 bytes |
コンパイル時間 | 630 ms |
コンパイル使用メモリ | 74,232 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 07:22:27 |
合計ジャッジ時間 | 1,186 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <iostream> #include <string> #include <sstream> #include <vector> #include <climits> #include <cmath> #include <algorithm> #define TEST_ASSERT(msg, cond) do { if (cond) { cout << msg << " => pass" << endl;} else { cout << msg << " => failed" << endl;} } while(0) using namespace std; int main() { int n; cin >> n; string ret; for (int i = 0; i < n; i++) { string str; cin >> str; ret += str; } cout << ret << endl; return 0; }