結果

問題 No.3043 yukicoderへようこそ!
ユーザー PachicobuePachicobue
提出日時 2019-04-02 18:17:04
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 640 bytes
コンパイル時間 1,917 ms
コンパイル使用メモリ 200,720 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-20 12:15:43
合計ジャッジ時間 2,521 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
int main()
{
    std::string S;
    std::getline(std::cin,S);
    if(S=="1000 1000"){
        std::cout << "2000 abcdefg" << std::endl;
    } else if (S=="51"){
        for(int i = 1; i <= 51; i++){std::cout << (i%15==0?"FizzBuzz":i%5==0?"Buzz":i%3==0?"Fizz":std::to_string(i))<<std::endl;}
    } else if (S=="Let's enjoy"){
        std::cout << "Hello World!" << std::endl;
    } else if (S=="96"){
        std::cout << "4656" << std::endl;
    } else if (S=="10"){
        std::cout << "5942201175040512342" << std::endl;
    } else {
        std::cout << "4240983281189952799" << std::endl;
    }
    return 0;
}
0