結果

問題 No.2371 最大の試練それは起床
ユーザー nao109
提出日時 2023-08-16 14:44:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 335 bytes
コンパイル時間 1,754 ms
コンパイル使用メモリ 192,384 KB
最終ジャッジ日時 2025-02-16 08:45:51
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define fi first
#define se second
int main(){
    int h, m;
    cin >> h >> m;
    if(h < 7) cout << "Yes\n";
    else if(h > 8) cout << "No\n";
    else if(h == 7) cout << (m < 30 ? "Yes\n" : "Late\n");
    else cout << (m < 30 ? "Late\n" : "No\n");
    return 0;
}
0