結果
問題 |
No.8064 う し た ぷ に き あ く ん 笑
|
ユーザー |
![]() |
提出日時 | 2020-04-07 11:22:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 2,119 bytes |
コンパイル時間 | 650 ms |
コンパイル使用メモリ | 77,148 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-07 10:58:29 |
合計ジャッジ時間 | 1,917 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 47 |
ソースコード
// Template // #include<iostream> #include<vector> #include<map> #include <string> #include <math.h> using namespace std; // マクロ // #define rep(i,N) for(int i = 0; i < N; i++) #define all(x) x.begin(), x.end() #define sort(x) sort(all(x)) #define uniq(x) x.erase(unique(all(x)), x.end()) #define vsum(x) accumulate(all(x), 0) #define cou(x) cout << x << endl #define y() cout << "Yes" << endl #define n() cout << "No" << endl #define Y() cout << "YES" << endl #define N() cout << "NO" << endl #define x2(x) (x) * (x) // 型エイリアス // using lint = long long; using pii = pair<int, int>; using vi = vector<int>; using vli = vector<lint>; using vc = vector<char>; using vs = vector<string>; using vb = vector<bool>; using vvi = vector<vi>; using vvb = vector<vb>; using vvc = vector<vc>; using vpii = vector<pii>; using msi = map<string, int>; // 関数 // template<class T> lint gcd(T a, T b) { int t; while (b != 0) { t = a % b; a = b; b = t; } return a; } template<class T> lint lcm(T a, T b) { return a * b / gcd(a, b); } double distance(pii a, pii b) { double dist; dist = sqrt(x2(a.first - b.first) + x2(a.second - b.second)); return dist; } lint perm(int a) { lint perm = 1; for (int i = a; i >= 1; i--) { perm *= i; } return perm; } lint combination(int n, int m) { long double c = 1; for (int i = n, k = 1; i > m; i--, k++) { c *= i; c /= k; } return (lint)c; } template<class T, class Q> inline bool chmin(T& a, Q b) { if (a > b) { a = b; return true; } return false; } template<class T, class Q> inline bool chmax(T& a, Q b) { if (a < b) { a = b; return true; } return false; } // 定数 // #define pi acos(-1) #define mod 1000000007 #define MOD 998244353 #define inf ((1LL << 62) - 1 + (1LL << 62)) // キーワード // #define elif else if // End of Template // int main() { cin.tie(0); ios::sync_with_stdio(false); string s; getline(cin, s); cout << s << endl; }