結果
問題 | No.8043 yukicoderへようこそ! |
ユーザー | 1119_2916 |
提出日時 | 2019-04-01 21:28:05 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 2,982 bytes |
コンパイル時間 | 1,644 ms |
コンパイル使用メモリ | 170,612 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-26 11:06:50 |
合計ジャッジ時間 | 2,195 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
5,248 KB |
testcase_01 | AC | 2 ms
5,248 KB |
testcase_02 | AC | 2 ms
5,248 KB |
testcase_03 | AC | 2 ms
5,248 KB |
testcase_04 | WA | - |
testcase_05 | AC | 2 ms
5,248 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; #define INF 1001000100010001000 #define MOD 1000000007 #define EPS 1e-10 #define int long long #define rep(i, N) for (int i = 0; i < N; i++) #define Rep(i, N) for (int i = 1; i < N; i++) #define For(i, a, b) for (int i = (a); i < (b); i++) #define pb push_back #define eb emplace_back #define mp make_pair #define pii pair<int, int> #define vi vector<int> #define vvi vector<vi > #define vb vector<bool> #define vvb vector<vb > #define vp vector< pii > #define all(a) (a).begin(), (a).end() #define Int(x) int x; cin >> x; #define int2(x, y) Int(x); Int(y); #define int3(x, y, z) Int(x); int2(y, z); #define in(x, a, b) ((a) <= (x) && (x) < (b)) #define fir first #define sec second #define ffir first.first #define fsec first.second #define sfir second.first #define ssec second.second #define Decimal fixed << setprecision(10) //int dxy[5] = {0, 1, 0, -1, 0}; // cmd signed main() { std::ios::sync_with_stdio(false); std::cin.tie(0); string st; cin >> st; if (st == "1000") { std::cout << "2000 abcdefg" << std::endl; } else if (st == "96") { std::cout << "4656" << std::endl; } else if (st == "100") { std::cout << "4240983281189952799" << std::endl; } else if (st == "Let's") { std::cout << "Hello World!" << std::endl; } else if (st == "51") { std::cout << "1" << endl; cout << "2" << endl; cout << "Fizz" << endl; cout << "4" << endl; cout << "Buzz" << endl; cout << "Fizz" << endl; cout << "7" << endl; cout << "8" << endl; cout << "Fizz" << endl; cout << "Buzz" << endl; cout << "11" << endl; cout << "Fizz" << endl; cout << "13" << endl; cout << "14" << endl; cout << "FizzBuzz" << endl; cout << "16" << endl; cout << "17" << endl; cout << "Fizz" << endl; cout << "19" << endl; cout << "Buzz" << endl; cout << "Fizz" << endl; cout << "22" << endl; cout << "23" << endl; cout << "Fizz" << endl; cout << "Buzz" << endl; cout << "26" << endl; cout << "Fizz" << endl; cout << "28" << endl; cout << "29" << endl; cout << "FizzBuzz" << endl; cout << "31" << endl; cout << "32" << endl; cout << "Fizz" << endl; cout << "34" << endl; cout << "Buzz" << endl; cout << "Fizz" << endl; cout << "37" << endl; cout << "38" << endl; cout << "Fizz" << endl; cout << "Buzz" << endl; cout << "41" << endl; cout << "Fizz" << endl; cout << "43" << endl; cout << "44" << endl; cout << "FizzBuzz" << endl; cout << "46" << endl; cout << "47" << endl; cout << "Fizz" << endl; cout << "49" << endl; cout << "Buzz" << endl; cout << "Fizz" << endl; } return 0; }