結果

問題 No.218 経験値1.5倍
ユーザー test
提出日時 2020-09-18 12:22:44
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 1,753 ms
コンパイル使用メモリ 191,996 KB
最終ジャッジ日時 2025-01-14 16:06:59
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
int a, b, c;
void input() { cin >> a >> b >> c; }
void solve() {
  cout << (((a + b - 1) / b) * 2 == ((a + c - 1) / c) * 3 ? "YES" : "NO")
       << endl;
}

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  input();
  solve();
}
0