結果
問題 | No.218 経験値1.5倍 |
ユーザー |
|
提出日時 | 2016-10-30 21:24:52 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 499 bytes |
コンパイル時間 | 944 ms |
コンパイル使用メモリ | 80,672 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-29 15:53:12 |
合計ジャッジ時間 | 1,864 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#define _USE_MATH_DEFINES #include<stdio.h> #include<string> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include<queue> #include <algorithm> #include<math.h> #include<set> #include<map> #include<iomanip> //#include<bits/stdc++.h> using namespace std; bool f[10008]; bool F[10008]; int main() { int n,a,b; cin>>n>>a>>b; int x=n/a; if(n%a)x++; int y=n/b; if(n%b)y++; if((x*2)/3>=y)cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }