結果

問題 No.735 接線
ユーザー taktak
提出日時 2019-02-03 18:33:30
言語 F#
(F# 4.0)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 12,777 ms
コンパイル使用メモリ 183,292 KB
実行使用メモリ 29,568 KB
最終ジャッジ日時 2024-05-10 02:47:27
合計ジャッジ時間 16,423 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
29,312 KB
testcase_01 AC 64 ms
29,560 KB
testcase_02 AC 64 ms
29,440 KB
testcase_03 AC 64 ms
29,312 KB
testcase_04 AC 65 ms
29,312 KB
testcase_05 AC 64 ms
29,440 KB
testcase_06 AC 64 ms
29,440 KB
testcase_07 AC 64 ms
29,568 KB
testcase_08 AC 64 ms
29,312 KB
testcase_09 AC 64 ms
29,440 KB
testcase_10 AC 64 ms
29,568 KB
testcase_11 AC 64 ms
29,568 KB
testcase_12 AC 64 ms
29,440 KB
testcase_13 AC 63 ms
29,568 KB
testcase_14 AC 65 ms
29,556 KB
testcase_15 AC 64 ms
29,312 KB
testcase_16 AC 65 ms
29,568 KB
testcase_17 AC 66 ms
29,312 KB
testcase_18 AC 64 ms
29,440 KB
testcase_19 AC 64 ms
29,440 KB
testcase_20 AC 65 ms
29,440 KB
testcase_21 AC 65 ms
29,440 KB
testcase_22 AC 64 ms
29,440 KB
testcase_23 AC 62 ms
29,568 KB
testcase_24 AC 64 ms
29,312 KB
testcase_25 AC 62 ms
29,312 KB
testcase_26 AC 61 ms
29,312 KB
testcase_27 AC 62 ms
29,540 KB
testcase_28 AC 65 ms
29,568 KB
testcase_29 AC 65 ms
29,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (319 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 #

open System

let r, d = let t = stdin.ReadLine().Split() |> Array.map float in t.[0], t.[1]

d * d - r * r
|> sqrt
|> stdout.WriteLine
0