結果
| 問題 |
No.2371 最大の試練それは起床
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-14 17:50:17 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 1,603 bytes |
| コンパイル時間 | 1,874 ms |
| コンパイル使用メモリ | 215,344 KB |
| 最終ジャッジ日時 | 2025-02-15 10:23:12 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 19 |
ソースコード
#include<bits/stdc++.h>
//#include <atcoder/all>
#include <ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds;
//using mint = atcoder::modint998244353;
using lint = long long;
using ii = pair<int, int>;
using il = pair<int, lint>;
using li = pair<lint, int>;
using ll = pair<lint, lint>;
const int mxn = 1000100, mxp = 1000001;
const int MOD = 998244353, inf = -1e9 - 7, INF = 1e9 + 1;
const lint lnf = -4e18, LNF = 5e18;
const double eps = 1e-10;
const int sqrtN = 200;
#define sz(x) int(size(x))
#define fst(x) (x).begin()
#define all(x) (x).begin(),(x).end()
#define compress(x) sort(all(x)), (x).erase(unique(all(x)), (x).end())
#define lb(x, v) (lower_bound(all(x), v) - (x).begin())
#define ub(x, v) (upper_bound(all(x), v) - (x).begin())
vector<lint> xl, yl;
#define Yes "Yes\n"
#define No "No\n"
const int dr[] = {-1, 0, 1, 0};
const int dc[] = {0, -1, 0, 1};
inline int inRange(int r, int c, int R, int C) {
return 0 <= r && r < R && 0 <= c && c < C;
}
int N, M, Q, R, C, H, K, T;
void init() {
}
void solve() {
cin >> N >> M;
if(N < 7) {
cout << Yes;
return;
} else if(N == 7) {
if(M <= 30) cout << Yes;
else cout << "Late";
} else if(N==8) {
if(M <= 30) cout << "Late";
else cout << No;
} else cout << No;
}
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
#endif
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int TC = 1;
cin >> TC;
while (TC--) {
init();
solve();
}
return 0;
}