結果

問題 No.969 じゃんけん
ユーザー cotton_fn_cotton_fn_
提出日時 2020-02-02 00:50:32
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 651 bytes
コンパイル時間 1,074 ms
コンパイル使用メモリ 119,576 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-19 00:28:21
合計ジャッジ時間 1,678 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <deque>
#include <queue>
#include <array>
#include <set>
#include <map>
#include <cmath>
#include <complex>
#include <algorithm>
#include <numeric>
#include <utility>
#include <tuple>
#include <functional>
#include <bitset>
#include <cstdint>
#include <cassert>
#include <random>

using namespace std;
using i64 = int64_t;
using i32 = int32_t;
template<class T> T iabs(const T& x) { return max(x, -x); }

int main() {
    int x;
    cin >> x;
    if (x == 0 || x == 4 || x == 10) {
        cout << "Yes\n";
    } else {
        cout << "No\n";
    }

    return 0;
}
0