結果

問題 No.218 経験値1.5倍
ユーザー Yug_min_null
提出日時 2021-11-13 22:20:11
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 339 bytes
コンパイル時間 1,935 ms
コンパイル使用メモリ 186,264 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-28 00:54:53
合計ジャッジ時間 2,825 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _GLIBCXX_DEBUG
#define ll long long
#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;

int main(){
  int A, B, C; cin >> A >> B >> C;
  int ans = (A+B-1)/B;
  int ans2 = (A+C-1)/C;
  //cout << ans2*3 << " " << ans*2 << endl;
  if(ans2*3 <= ans*2) cout << "YES" << endl;
  else cout << "NO" << endl;
}
0