結果
問題 |
No.2371 最大の試練それは起床
|
ユーザー |
|
提出日時 | 2023-11-29 21:36:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 1,897 ms |
コンパイル使用メモリ | 193,228 KB |
最終ジャッジ日時 | 2025-02-18 02:24:49 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; } }