結果

問題 No.3043 yukicoderへようこそ!
ユーザー kyort0nkyort0n
提出日時 2019-04-01 21:43:07
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 1,079 bytes
コンパイル時間 1,509 ms
コンパイル使用メモリ 164,528 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-17 21:31:45
合計ジャッジ時間 1,935 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 1 ms
4,376 KB
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> l_l;

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
//const ll mod = 1000000007;

int main() {
    //cout.precision(10);
    cin.tie(0);
    ios::sync_with_stdio(false);
    string in;
    cin >> in;
    if(in == "Let's") {
        cout << "Hello World!" << endl;
        return 0;
    }
    if(in == "96") {
        cout << "4656" << endl;
        return 0;
    }
    if(in == "1000") {
        cout << "2000 abcdefg" << endl;
        return 0;
    }
    if(in == "51") {
        for(int i = 1; i <= 51; i++) {
            if((i % 3 != 0) && (i % 5 != 0)) {
                cout << i << endl;
                continue;
            }
            if(i % 3 == 0) cout << "Fizz";
            if(i % 5 == 0) cout << "Buzz";
            cout << endl;
        }
        return 0;
    }
    if(in == "100") {
        cout << 1176952040740503395 << endl;
        return 0;
    }
    if(in == "10") {
        cout << 6558287575865290900 << endl;
        return 0;
    }
    return 0;
}
0