結果

問題 No.735 接線
ユーザー MaboyMaboy
提出日時 2021-06-22 10:56:18
言語 Swift
(5.10.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 6,819 ms
コンパイル使用メモリ 148,464 KB
実行使用メモリ 13,544 KB
最終ジャッジ日時 2023-09-05 11:32:41
合計ジャッジ時間 8,615 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
12,604 KB
testcase_01 AC 6 ms
13,228 KB
testcase_02 AC 6 ms
12,876 KB
testcase_03 AC 6 ms
13,340 KB
testcase_04 AC 5 ms
13,544 KB
testcase_05 AC 6 ms
13,304 KB
testcase_06 AC 6 ms
12,880 KB
testcase_07 AC 6 ms
12,780 KB
testcase_08 AC 6 ms
12,880 KB
testcase_09 AC 5 ms
12,880 KB
testcase_10 AC 6 ms
12,768 KB
testcase_11 AC 5 ms
13,044 KB
testcase_12 AC 5 ms
12,888 KB
testcase_13 AC 6 ms
13,304 KB
testcase_14 AC 5 ms
13,096 KB
testcase_15 AC 6 ms
12,828 KB
testcase_16 AC 6 ms
12,992 KB
testcase_17 AC 5 ms
13,116 KB
testcase_18 AC 6 ms
12,768 KB
testcase_19 AC 5 ms
12,608 KB
testcase_20 AC 6 ms
12,604 KB
testcase_21 AC 6 ms
13,304 KB
testcase_22 AC 6 ms
12,884 KB
testcase_23 AC 5 ms
12,784 KB
testcase_24 AC 6 ms
12,876 KB
testcase_25 AC 6 ms
13,400 KB
testcase_26 AC 5 ms
13,096 KB
testcase_27 AC 6 ms
12,784 KB
testcase_28 AC 6 ms
13,228 KB
testcase_29 AC 5 ms
13,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import Foundation
let n = readLine()!.split(separator: " ").map{Double($0)!}
print(pow(pow(n[1],2)-pow(n[0],2),0.5))
0