結果

問題 No.2371 最大の試練それは起床
ユーザー Jeroen Op de Beek
提出日時 2023-07-07 21:23:14
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 908 bytes
コンパイル時間 1,703 ms
コンパイル使用メモリ 191,516 KB
最終ジャッジ日時 2025-02-15 06:42:19
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "bits/stdc++.h"
using namespace std;
#define all(x) begin(x),end(x)
template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; }
template<typename T_container, typename T = typename enable_if<!is_same<T_container, string>::value, typename T_container::value_type>::type> ostream& operator<<(ostream &os, const T_container &v) { string sep; for (const T &x : v) os << sep << x, sep = " "; return os; }
#define debug(a) cerr << "(" << #a << ": " << a << ")\n";
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> pi;
const int mxN = 1e5+1, oo = 1e9;
int main() {
    int h,m; cin >> h >> m;
    m = m+h*60;
    int s = 7*60+30;
    int e = 8*60+30;
    if(s<=m  and m<=e) {
        cout << "Late\n";
    } else if(m<=s) {
        cout << "Yes\n";
    } else cout << "No\n";
}
0