結果
| 問題 |
No.2371 最大の試練それは起床
|
| コンテスト | |
| ユーザー |
kekenx
|
| 提出日時 | 2023-08-07 22:13:45 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 324 bytes |
| コンパイル時間 | 463 ms |
| コンパイル使用メモリ | 65,516 KB |
| 最終ジャッジ日時 | 2025-02-16 00:02:02 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int h, m;
cin >> h >> m;
int low = 7 * 60 * 60 + 30 * 60;
int high = 8 * 60 * 60 + 30 * 60;
int woke = h * 60 * 60 + m * 60 + 30;
if (woke < low) {
puts("Yes");
} else if (woke < high) {
puts("Late");
} else {
puts("No");
}
return 0;
}
kekenx