結果
問題 | No.591 (^o^)/ |
ユーザー |
|
提出日時 | 2019-08-03 10:16:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,363 bytes |
コンパイル時間 | 622 ms |
コンパイル使用メモリ | 82,892 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-05 08:32:40 |
合計ジャッジ時間 | 1,091 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include<iostream>#include<cstdio>#include<cmath>#include<cstdlib>#include<climits>#include<string>#include<algorithm>#include<vector>#include<queue>#include<stack>#include<numeric>#include<map>#include<set>#include<bitset>using namespace std;#define REP(i,m,n) for(int i = m; i < n; i++)#define rep(i,n) REP(i,0,n)#define ALL(a) (a).begin(),(a).end()#define RALL(a) (a).rbegin(),(a).rend()#define dup(x,y) (((x)+(y)-1) / (y)); //整数型のまま切り上げ演算する#define PI 3.14159265359typedef long long LL;template<class T> inline void chmax(T& a, T b) { if (a < b) { a = b; } }template<class T> inline void chmin(T& a, T b) { if (a > b) { a = b; } }template<class T> inline T gcd(T x, T y) { if (y == 0) { return x; } else if (x == 0) { return y; }return gcd(y, x % y); }template<class T> inline T lcm(T x, T y) { return (x * y) / gcd(x, y); }template<class T> inline vector<T> convert_to_binary_number(T x) { vector<T> binary_num; while (x != 1) { binary_num.push_back(x % 2); x /= 2; }binary_num.push_back(1); return binary_num; }template<class T> inline void print_vector(vector<T> vec) { for (int i = 0; i < vec.size(); i++) { cout << vec[i] << " "; } }const LL MOD = 1e9 + 7;const LL INF = 1LL << 60;int main(void) {string T1, T2;cin >> T1 >> T2;cout << "(" << T1 << T2 << T1 << ")/" << endl;return 0;}