結果
問題 | No.1799 Summer Day |
ユーザー |
|
提出日時 | 2022-01-22 00:00:12 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 2,077 bytes |
コンパイル時間 | 2,111 ms |
コンパイル使用メモリ | 192,992 KB |
最終ジャッジ日時 | 2025-01-27 14:39:12 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <bits/stdc++.h>#define sz(x) (int)(x).size()#define all(x) x.begin(), x.end()#define rall(x) x.rbegin(), x.rend()#define uid uniform_int_distribution#define uint unsigned int#define ld long double#define ll long long#define pii pair<int, int>#define pll pair<ll, ll>#define ar array#define f first#define s secondusing namespace std;mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());#define rint(l, r) uid<int>(l, r)(rng)template<class T> using pq = priority_queue<T>;template<class T> using pqg = priority_queue<T, vector<T>, greater<T>>;template<class T> bool ckmin(T& a, const T& b) { return b < a ? a = b, 1 : 0; }template<class T> bool ckmax(T& a, const T& b) { return a < b ? a = b, 1 : 0; }void __print(int x) {cerr << x;}void __print(long x) {cerr << x;}void __print(long long x) {cerr << x;}void __print(unsigned x) {cerr << x;}void __print(unsigned long x) {cerr << x;}void __print(unsigned long long x) {cerr << x;}void __print(float x) {cerr << x;}void __print(double x) {cerr << x;}void __print(long double x) {cerr << x;}void __print(char x) {cerr << '\'' << x << '\'';}void __print(const char *x) {cerr << '\"' << x << '\"';}void __print(const string &x) {cerr << '\"' << x << '\"';}void __print(bool x) {cerr << (x ? "true" : "false");}template<typename T, typename V>void __print(const pair<T, V> &x) {cerr << '{'; __print(x.f); cerr << ','; __print(x.s); cerr << '}';}template<typename T>void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i: x) cerr << (f++ ? "," : ""), __print(i); cerr << "}";}void _print() {cerr << "]\n";}template <typename T, typename... V>void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}#ifndef ONLINE_JUDGE#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)#else#define debug(x...)#endifvoid test_case() {ll n, s; cin >> n >> s;cout << (25 <= s && s <= n*29?"Yes":"No") << '\n';}int main() {cin.tie(0)->sync_with_stdio(0);int t = 1;// cin >> t;while (t--) test_case();}