結果
問題 | No.218 経験値1.5倍 |
ユーザー | hanorver |
提出日時 | 2015-08-23 19:50:59 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 578 ms |
コンパイル使用メモリ | 59,512 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-29 15:22:00 |
合計ジャッジ時間 | 1,661 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 |
ソースコード
#include<iostream> #include<cmath> int main() { double a, b, c; std::cin >> a >> b >> c; int d = ceil(a / c); int e = ceil(a / b); if (floor(e * 2.0 / 3) >= d) std::cout << "YES" << std::endl; else std::cout << "NO" << std::endl; return 0; }