結果
問題 |
No.1799 Summer Day
|
ユーザー |
|
提出日時 | 2022-04-19 08:58:15 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 387 bytes |
コンパイル時間 | 971 ms |
コンパイル使用メモリ | 92,500 KB |
最終ジャッジ日時 | 2025-01-28 19:17:20 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 WA * 8 |
ソースコード
#include <algorithm> #include <cmath> #include <iostream> #include <numeric> #include <queue> #include <vector> using namespace std; using ll = long long; #define rep(i, j, n) for (int i = j; i < (n); ++i) int main() { cin.tie(0)->sync_with_stdio(0); ll n, s; cin >> n >> s; ll lower = n * 25, upper = n * 29; cout << (lower <= s && s <= upper ? "Yes" : "No"); return 0; }