提出 #75406924


ソースコード 拡げる

#line 2 "/Users/blue_jam/ProconLibrary/misc/template.hpp"

#include <atcoder/all>
#include <bits/stdc++.h>

using namespace std;
using namespace atcoder;

#define ALL(x) (x).begin(), (x).end()

using ll = long long;
#ifndef EPS
const double eps = 1e-10;
#else
const double eps = EPS;
#endif
#line 2 "abc456/A/main.cpp"

const string YES = "Yes";
const string NO = "No";

void solve(long long X) {
    cout << (X >= 3 && X <= 18 ? YES : NO) << endl;

}

int main() {
    long long X;
    std::scanf("%lld", &X);
    solve(X);
    return 0;
}

提出情報

提出日時
問題 A - Dice
ユーザ blue_jam
言語 C++23 (GCC 15.2.0)
得点 100
コード長 573 Byte
結果 AC
実行時間 1 ms
メモリ 3688 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 10
セット名 テストケース
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt
ケース名 結果 実行時間 メモリ
random_01.txt AC 1 ms 3656 KiB
random_02.txt AC 1 ms 3688 KiB
random_03.txt AC 1 ms 3532 KiB
random_04.txt AC 1 ms 3552 KiB
random_05.txt AC 1 ms 3532 KiB
random_06.txt AC 1 ms 3604 KiB
random_07.txt AC 1 ms 3600 KiB
random_08.txt AC 1 ms 3532 KiB
sample_01.txt AC 1 ms 3664 KiB
sample_02.txt AC 1 ms 3600 KiB