結果
問題 | No.2371 最大の試練それは起床 |
ユーザー |
|
提出日時 | 2023-07-07 21:27:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 719 bytes |
コンパイル時間 | 5,256 ms |
コンパイル使用メモリ | 398,456 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-21 17:09:43 |
合計ジャッジ時間 | 6,115 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
ソースコード
#include <atcoder/all> #include <bits/stdc++.h> #include <boost/multiprecision/cpp_int.hpp> using namespace std; using namespace atcoder; using namespace boost::multiprecision; using ll = long long; using mint = modint998244353; #define all(v) v.begin(), v.end() #define rep(a, b) for(long long a = 0; a < (long long)(b); a++) int op(int a, int b) { return min(a, b); } int e() { return 2147483647; } int main() { int H, M; cin >> H >> M; if(H < 7) cout << "Yes" << endl; else if(H == 7 && M < 30) cout << "Yes" << endl; else if(H == 7 && M >= 30) cout << "Late" << endl; else if(H == 8 && M < 30) cout << "Late" << endl; else cout << "No" << endl; }