結果
| 問題 |
No.159 刺さらないUSB
|
| コンテスト | |
| ユーザー |
dsytk7
|
| 提出日時 | 2016-06-18 12:14:54 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 237 bytes |
| コンパイル時間 | 1,275 ms |
| コンパイル使用メモリ | 159,116 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-01 23:58:26 |
| 合計ジャッジ時間 | 2,032 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,j) for (int (i)=0;(i)<(int)(j);++(i))
#define put(i) cout << i << endl
using namespace std;
int main() {
double p, q; cin >> p >> q;
cout << ((1-p)*q < p*(1-q)*q ? "YES" : "NO") << endl;
}
dsytk7