結果
問題 |
No.218 経験値1.5倍
|
ユーザー |
![]() |
提出日時 | 2017-09-30 16:15:43 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 359 bytes |
コンパイル時間 | 634 ms |
コンパイル使用メモリ | 73,148 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-15 20:49:26 |
合計ジャッジ時間 | 1,583 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 31 |
ソースコード
#include <iostream> #include <random> #include <algorithm> #define INF 1000000000 using namespace std; // #define int long long signed main(){ int a,b,c; cin >> a >> b >> c; int S1 = (a+b-1)/b; int S2 = (a+c-1)/c; cout << S1 << " " << S2; if((double)S2/S1 <= double(2/3)){ cout << "YES" << endl; return 0; } cout << "NO" << endl; }