結果

問題 No.1799 Summer Day
ユーザー yansi819
提出日時 2024-03-20 18:45:04
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 471 bytes
コンパイル時間 4,287 ms
コンパイル使用メモリ 250,000 KB
最終ジャッジ日時 2025-02-20 08:14:39
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;

int N, S;

int main() {
  cin >> N >> S;
  int A = S / N;
  int R = S - A * N;
  if (25 <= A && A < 30) {
    if (A == 29 && R > 0) cout << "No" << endl;
    else cout << "Yes" << endl;
  } else if (A >= 30) cout << "No" << endl;
  else {
    if (S - 25 > 0) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
  return 0;
}
0