結果
問題 | No.218 経験値1.5倍 |
ユーザー |
![]() |
提出日時 | 2023-04-13 07:23:04 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 533 bytes |
コンパイル時間 | 3,592 ms |
コンパイル使用メモリ | 249,980 KB |
最終ジャッジ日時 | 2025-02-12 05:30:03 |
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=144494; ll mod=1000000007; int main(){ ll a,b,c; cin >> a >> b >> c; ll x=0; if (a%b==0) { x=a/b; }else{ x=(a/b)+1; } ll y; if (a%c==0) { y=a/c; }else{ y=a/c+1; } ll z=y*3-x*2; if (z>0) { cout << "NO" << endl; }else{ cout << "YES" << endl; } }