結果
| 問題 | No.2371 最大の試練それは起床 | 
| コンテスト | |
| ユーザー |  poyon | 
| 提出日時 | 2023-06-12 00:08:29 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 648 bytes | 
| コンパイル時間 | 1,788 ms | 
| コンパイル使用メモリ | 193,728 KB | 
| 最終ジャッジ日時 | 2025-02-14 01:55:34 | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 19 | 
ソースコード
// 嘘解法
// if 文で H <= 6 としていない
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout << fixed << setprecision(15);
    int H, M;
    cin >> H >> M;
    string ans;
    if (H < 6) {
        ans = "Yes";
    } else if (9 <= H) {
        ans = "No";
    } else if (H == 7) {
        if (M < 30) {
            ans = "Yes";
        } else {
            ans = "Late";
        }
    } else {
        if (M < 30) {
            ans = "Late";
        } else {
            ans = "No";
        }
    }
    cout << ans << '\n';
    return 0;
}
            
            
            
        