結果

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

ソースコード

diff #

#include <bits/stdc++.h>
#include "atcoder/modint"

using i64 = long long;
using Fp = atcoder::modint998244353;

int main() {
    int H, M;
    std::cin >> H >> M;
    int v = (H * 60 + M) * 60 + 30;
    int l = (7 * 60 + 30) * 60;
    int u = (8 * 60 + 30) * 60;
    if (v < l) std::cout << "Yes" << std::endl;
    else if (l <= v and v < u) std::cout << "Late" << std::endl;
    else std::cout << "No" << std::endl;
}
0