結果
| 問題 | No.2371 最大の試練それは起床 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-29 21:36:08 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 1,171 ms |
| コンパイル使用メモリ | 208,648 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-03 02:28:31 |
| 合計ジャッジ時間 | 2,163 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ll h,m;
cin>>h>>m;
ll s=h*3600+m*60+30;
ll left=7*3600+30*60;
ll right=8*3600+30*60;
if(s<=left){
cout<<"Yes"<<endl;
}else if(left<s&&s<right){
cout<<"Late"<<endl;
}else if(right<=s){
cout<<"No"<<endl;
}
}