結果
| 問題 |
No.159 刺さらないUSB
|
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-21 13:41:39 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 581 ms |
| コンパイル使用メモリ | 72,040 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-15 07:56:31 |
| 合計ジャッジ時間 | 1,423 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 4 WA * 14 |
ソースコード
#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<cmath>
#include<cstdio>
using namespace std;
int main(){
double p,q;
cin >> p >> q;
if(p*q<(1-p)*q) cout << "YES";
else cout << "NO";
return 0;
}
focus