結果

問題 No.159 刺さらないUSB
ユーザー regeregeregerege
提出日時 2016-10-02 02:08:27
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 7,449 ms
コンパイル使用メモリ 184,508 KB
実行使用メモリ 32,528 KB
最終ジャッジ日時 2024-05-01 09:28:37
合計ジャッジ時間 9,868 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
30,080 KB
testcase_01 AC 71 ms
30,464 KB
testcase_02 AC 70 ms
30,208 KB
testcase_03 AC 71 ms
30,336 KB
testcase_04 AC 73 ms
30,080 KB
testcase_05 WA -
testcase_06 AC 70 ms
30,464 KB
testcase_07 WA -
testcase_08 AC 71 ms
30,208 KB
testcase_09 AC 71 ms
30,208 KB
testcase_10 AC 71 ms
30,208 KB
testcase_11 WA -
testcase_12 AC 71 ms
30,080 KB
testcase_13 AC 71 ms
30,080 KB
testcase_14 AC 69 ms
30,080 KB
testcase_15 AC 70 ms
30,464 KB
testcase_16 AC 72 ms
30,336 KB
testcase_17 AC 72 ms
30,336 KB
testcase_18 AC 73 ms
30,208 KB
testcase_19 AC 72 ms
30,208 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (225 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let args = stdin.ReadLine().Split(' ')
let p = float args.[0]
let q = float args.[1]
let P1 = (1.-p)*p
let P2 = p*(1.-q)*q
printfn <| if P1 < P2 then "YES" else "NO"
0