結果

問題 No.597 concat
ユーザー Toshihiko Yanase
提出日時 2018-04-30 22:04:56
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 429 ms
コンパイル使用メモリ 60,172 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 23:59:38
合計ジャッジ時間 1,015 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;


int main() {
  std::cin.tie(0);
  std::ios::sync_with_stdio(false);

  int N;
  cin >> N;
  string ans = "";
  for(int i=0;i<N;i++){
    string s;
    cin >> s;
    ans += s;
  }
  cout << ans << endl;
  return 0;
}
0