結果
| 問題 |
No.1799 Summer Day
|
| コンテスト | |
| ユーザー |
ygd.
|
| 提出日時 | 2022-01-07 21:23:02 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 775 bytes |
| コンパイル時間 | 2,258 ms |
| コンパイル使用メモリ | 214,184 KB |
| 最終ジャッジ日時 | 2025-01-27 09:06:09 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 2 |
ソースコード
#define _GLIBCXX_DEBUG //遅い可能性がある
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ALL(a) (a).begin(),(a).end() //lower_bound(ALL(a),x)
using ll = long long;
using P = pair<int,int>;
using VI = vector<int>;
using VVI = vector<vector<int>>;
template <typename T>
bool chmax(T &a, const T& b) {
if (a < b) {
a = b; // aをbで更新
return true;
}
return false;
}
template <typename T>
bool chmin(T &a, const T& b) {
if (a > b) {
a = b; // aをbで更新
return true;
}
return false;
}
int INF = 100100100;
int main() {
int n,s;
cin >> n >> s;
if (25 <= s && s <= 29*n) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
ygd.