結果

問題 No.2371 最大の試練それは起床
ユーザー kinugoshi8928kinugoshi8928
提出日時 2023-07-07 21:27:45
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 719 bytes
コンパイル時間 6,056 ms
コンパイル使用メモリ 410,672 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-28 22:24:30
合計ジャッジ時間 6,632 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 2 ms
4,380 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
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 1 ms
4,376 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 2 ms
4,380 KB
testcase_11 AC 1 ms
4,376 KB
testcase_12 AC 1 ms
4,376 KB
testcase_13 AC 2 ms
4,380 KB
testcase_14 AC 1 ms
4,376 KB
testcase_15 AC 1 ms
4,376 KB
testcase_16 AC 2 ms
4,380 KB
testcase_17 AC 1 ms
4,376 KB
testcase_18 AC 1 ms
4,376 KB
testcase_19 AC 1 ms
4,376 KB
testcase_20 AC 1 ms
4,376 KB
testcase_21 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <atcoder/all>
#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;
using namespace atcoder;
using namespace boost::multiprecision;
using ll = long long;
using mint = modint998244353;
#define all(v) v.begin(), v.end()
#define rep(a, b) for(long long a = 0; a < (long long)(b); a++)
int op(int a, int b) { return min(a, b); }
int e() { return 2147483647; }

int main() {
    int H, M;
    cin >> H >> M;
    if(H < 7)
        cout << "Yes" << endl;
    else if(H == 7 && M < 30)
        cout << "Yes" << endl;
    else if(H == 7 && M >= 30)
        cout << "Late" << endl;
    else if(H == 8 && M < 30)
        cout << "Late" << endl;
    else
        cout << "No" << endl;
}
0