結果
問題 | No.2371 最大の試練それは起床 |
ユーザー |
|
提出日時 | 2023-07-07 22:22:51 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 23 ms / 2,000 ms |
コード長 | 419 bytes |
コンパイル時間 | 1,690 ms |
コンパイル使用メモリ | 193,384 KB |
最終ジャッジ日時 | 2025-02-15 07:44:13 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
#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;}