結果
問題 | No.1799 Summer Day |
ユーザー |
![]() |
提出日時 | 2022-01-23 20:52:35 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 2,778 bytes |
コンパイル時間 | 22,733 ms |
コンパイル使用メモリ | 350,460 KB |
最終ジャッジ日時 | 2025-01-27 15:04:53 |
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
//#define _GLIBCXX_DEBUG#pragma GCC target("avx")#pragma GCC optimize("O3")#pragma GCC optimize("unroll-loops")#include <bits/stdc++.h>using namespace std;#if __has_include(<atcoder/all>)#include <atcoder/all>using namespace atcoder;using mint = modint998244353;#endifusing ll = long long;using ld = long double;using vi = vector<int>;using vll = vector<ll>;using vii = vector<vector<int>>;using vvll = vector<vector<ll>>;const ll INF = 1ll<<60;const ld EPS = 1.0/1e9;#define endl "\n"#define rep(i,a,b) for(int i=a;i<b;i++)#define rrep(i,a,b) for(int i=a;i>=b;i--)#define fore(i,a) for(auto &i:a)#define repi(itr, ds) for (auto itr = ds.begin(); itr != ds.end(); itr++)#define all(x) (x).begin(),(x).end()#define del(x) sort(all(x)); x.erase(unique(all(x)),x.end());#define DEBUG_template <typename T>istream &operator>>(istream &is, vector<T> &vec) {for (T &x : vec) is >> x;return is;}template<typename T>ostream& operator << (ostream &os, vector<T>& vec){os << "{";for(int i=0;i<vec.size();i++){os << vec[i] << (i+1==vec.size() ? "" : ", ");}os << "}";return os;}template <typename T, typename U>ostream &operator<<(ostream &os, pair<T, U> &pair_var) {os << "(" << pair_var.first << ", " << pair_var.second << ")";return os;}template <typename T, typename U>ostream &operator<<(ostream &os, map<T, U> &map_var) {os << "{";repi(itr, map_var) {os << *itr;itr++;if (itr != map_var.end()) os << ", ";itr--;}os << "}";return os;}template <typename T>ostream &operator<<(ostream &os, set<T> &set_var) {os << "{";repi(itr, set_var) {os << *itr;itr++;if (itr != set_var.end()) os << ", ";itr--;}os << "}";return os;}#define DUMPOUT cerrvoid dump_func() {DUMPOUT << endl;}template <class Head, class... Tail>void dump_func(Head &&head, Tail &&... tail) {DUMPOUT << head;if (sizeof...(Tail) > 0) {DUMPOUT << ", ";}dump_func(std::move(tail)...);}#ifdef DEBUG_#define DEB#define dump(...) \DUMPOUT << " " << string(#__VA_ARGS__) << ": " \<< "[" << to_string(__LINE__) << ":" << __FUNCTION__ << "]" \<< endl \<< " ", \dump_func(__VA_ARGS__)#else#define DEB if (false)#define dump(...)#endifint main(){ios_base::sync_with_stdio(0);cin.tie(0);ll n,s; cin >> n >> s;if(s>=25 and s<=29*n) cout << "Yes" << endl;else cout << "No" << endl;}