結果

問題 No.969 じゃんけん
ユーザー Konton7
提出日時 2020-01-17 23:46:12
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 353 bytes
コンパイル時間 2,581 ms
コンパイル使用メモリ 191,216 KB
最終ジャッジ日時 2025-01-08 19:37:59
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

// #define DEBUG

int main()
{

#ifdef DEBUG
    cout << "DEBUG MODE" << endl;
    ifstream in("input.txt"); //for debug
    cin.rdbuf(in.rdbuf());    //for debug
#endif

    int n;
    cin >> n;
    cout << ( (n == 0 || n == 4 || n == 10) ? "Yes" : "No" ) << endl;

    return 0;
}
0