結果
問題 | No.218 経験値1.5倍 |
ユーザー | koyumeishi |
提出日時 | 2015-05-29 22:26:47 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 427 bytes |
コンパイル時間 | 723 ms |
コンパイル使用メモリ | 72,816 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-29 14:57:06 |
合計ジャッジ時間 | 1,527 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include <iostream> #include <vector> #include <cstdio> #include <sstream> #include <map> #include <string> #include <algorithm> #include <queue> #include <cmath> #include <set> using namespace std; int main(){ long long a,b,c; cin >> a >> b >> c; long long x = a/b + (a%b?1:0); long long y = a/c + (a%c?1:0); cerr << x << " " << y << endl; if(x*2 >= y*3) cout << "YES" << endl; else cout << "NO" << endl; return 0; }