結果
| 問題 | No.597 concat |
| コンテスト | |
| ユーザー |
zaichu
|
| 提出日時 | 2017-11-24 22:35:50 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 338µs | |
| コード長 | 405 bytes |
| 記録 | |
| コンパイル時間 | 870 ms |
| コンパイル使用メモリ | 183,476 KB |
| 実行使用メモリ | 9,860 KB |
| 最終ジャッジ日時 | 2026-09-30 17:25:23 |
| 合計ジャッジ時間 | 1,949 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
template <typename T>
T gcd(T x, T y)
{
if (y == 0)
return x;
return gcd(y, x % y);
}
template <typename T>
T lcm(T x, T y)
{
if (x == 0 || y == 0)
return 0;
return x / gcd(x, y) * y;
}
int main()
{
int n;
cin >> n;
string S;
string ans = "";
while (cin >> S)
ans += S;
cout << ans << endl;
}
zaichu