結果
問題 | No.597 concat |
ユーザー |
![]() |
提出日時 | 2017-11-24 22:20:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 592 bytes |
コンパイル時間 | 747 ms |
コンパイル使用メモリ | 83,292 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-27 07:13:54 |
合計ジャッジ時間 | 1,356 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <cmath> #include <cstdio> #include <cstdlib> #include <numeric> #include <array> #include <set> #include <map> #include <queue> using namespace std; #define REP(i,n) for(int (i)=0;(i)<(int)(n);(i)++) #define RREP(i,n) for(int (i)=(int)(n)-1;i>=0;i--) #define REMOVE(Itr,n) (Itr).erase(remove((Itr).begin(),(Itr).end(),n),(Itr).end()) typedef long long ll; int main() { int n; cin >> n; string ans; REP(i,n) { string s; cin >> s; ans = ans + s; } cout << ans << endl; return 0; }