結果

問題 No.597 concat
ユーザー KKT89
提出日時 2019-09-16 03:56:00
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 691 ms
コンパイル使用メモリ 76,020 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 22:59:01
合計ジャッジ時間 1,458 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>
using namespace std;
typedef long long int ll;

int main(){
    int n; cin >> n;
    vector<string> s(n);
    string ans="";
    for(int i=0;i<n;i++){
        cin >> s[i];
        ans+=s[i];
    }
    cout << ans << endl;
}
0