結果
問題 | No.2371 最大の試練それは起床 |
ユーザー |
![]() |
提出日時 | 2023-07-10 18:07:49 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 464 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 40,388 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-12 23:43:35 |
合計ジャッジ時間 | 1,087 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
/* -*- coding: utf-8 -*-** 2371.cc: No.2371 最大の試練それは起床 - yukicoder*/#include<cstdio>#include<algorithm>using namespace std;/* constant */const int S = 7 * 60 + 30;const int T = 8 * 60 + 30;/* typedef *//* global variables *//* subroutines *//* main */int main() {int h, m;scanf("%d%d", &h, &m);int t = h * 60 + m;if (t < S) puts("Yes");else if (t < T) puts("Late");else puts("No");return 0;}