結果

問題 No.2371 最大の試練それは起床
ユーザー ぷらぷら
提出日時 2023-07-07 22:10:03
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 352 bytes
コンパイル時間 2,327 ms
コンパイル使用メモリ 200,432 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-21 18:13:48
合計ジャッジ時間 3,059 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int H,M;
    cin >> H >> M;
    if(H < 7 || (H == 7 && M < 30)) {
        cout << "Yes" << "\n";
    }
    else if(H == 7 || (H == 8 && M < 30)) {
        cout << "Late" << "\n";
    }
    else {
        cout << "No" << "\n";
    }
}
0