結果

問題 No.597 concat
ユーザー newlife171128
提出日時 2017-11-28 21:59:46
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 372 bytes
コンパイル時間 960 ms
コンパイル使用メモリ 69,932 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-27 13:16:15
合計ジャッジ時間 1,644 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include<sstream>
#include <queue>
#include <limits>
#include <cstdlib>
#include <deque>
using namespace std;

int main() {

	int n= 0;

	cin>>n;

	string str;
	string ans;
	for(int i=0; i<n; i++){
		cin>>str;

		ans +=str;
	}

	cout<<ans<<endl;

	return 0;
}
0