結果

問題 No.735 接線
ユーザー taktak
提出日時 2019-02-03 18:33:30
言語 F#
(F# 4.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 5,314 ms
コンパイル使用メモリ 159,416 KB
実行使用メモリ 25,824 KB
最終ジャッジ日時 2023-08-22 21:11:18
合計ジャッジ時間 8,371 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
23,640 KB
testcase_01 AC 66 ms
25,672 KB
testcase_02 AC 66 ms
25,792 KB
testcase_03 AC 64 ms
23,664 KB
testcase_04 AC 65 ms
23,720 KB
testcase_05 AC 65 ms
25,796 KB
testcase_06 AC 66 ms
23,684 KB
testcase_07 AC 65 ms
25,624 KB
testcase_08 AC 66 ms
25,824 KB
testcase_09 AC 66 ms
23,668 KB
testcase_10 AC 65 ms
23,648 KB
testcase_11 AC 65 ms
23,632 KB
testcase_12 AC 65 ms
23,808 KB
testcase_13 AC 66 ms
23,916 KB
testcase_14 AC 65 ms
25,616 KB
testcase_15 AC 66 ms
23,700 KB
testcase_16 AC 64 ms
23,584 KB
testcase_17 AC 66 ms
23,720 KB
testcase_18 AC 66 ms
23,748 KB
testcase_19 AC 65 ms
23,808 KB
testcase_20 AC 65 ms
25,792 KB
testcase_21 AC 65 ms
23,744 KB
testcase_22 AC 66 ms
23,736 KB
testcase_23 AC 66 ms
23,648 KB
testcase_24 AC 68 ms
23,792 KB
testcase_25 AC 65 ms
25,704 KB
testcase_26 AC 65 ms
25,628 KB
testcase_27 AC 65 ms
23,656 KB
testcase_28 AC 64 ms
21,652 KB
testcase_29 AC 64 ms
23,660 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

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