結果

問題 No.735 接線
ユーザー ekidenpekidenp
提出日時 2018-09-28 22:09:55
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 285 bytes
コンパイル時間 983 ms
コンパイル使用メモリ 63,312 KB
実行使用メモリ 24,832 KB
最終ジャッジ日時 2023-08-02 11:22:48
合計ジャッジ時間 4,427 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
22,596 KB
testcase_01 AC 64 ms
24,768 KB
testcase_02 AC 65 ms
22,756 KB
testcase_03 AC 65 ms
22,672 KB
testcase_04 AC 66 ms
24,652 KB
testcase_05 AC 64 ms
22,584 KB
testcase_06 AC 66 ms
22,632 KB
testcase_07 AC 65 ms
20,640 KB
testcase_08 AC 65 ms
22,644 KB
testcase_09 AC 65 ms
22,704 KB
testcase_10 AC 66 ms
24,776 KB
testcase_11 AC 66 ms
22,680 KB
testcase_12 AC 65 ms
20,636 KB
testcase_13 AC 65 ms
24,768 KB
testcase_14 AC 66 ms
24,724 KB
testcase_15 AC 68 ms
22,628 KB
testcase_16 AC 65 ms
20,632 KB
testcase_17 AC 65 ms
24,732 KB
testcase_18 AC 66 ms
22,752 KB
testcase_19 AC 65 ms
22,672 KB
testcase_20 AC 65 ms
22,536 KB
testcase_21 AC 66 ms
24,832 KB
testcase_22 AC 66 ms
24,640 KB
testcase_23 AC 67 ms
22,784 KB
testcase_24 AC 66 ms
22,640 KB
testcase_25 AC 66 ms
24,656 KB
testcase_26 AC 66 ms
22,580 KB
testcase_27 AC 66 ms
22,616 KB
testcase_28 AC 65 ms
22,752 KB
testcase_29 AC 66 ms
22,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;
using System.Collections.Generic;
class Program
{
	static void Main(string[] args)
	{
		string[]str = Console.ReadLine().Split();
		double A = double.Parse(str[0]);
		double B = double.Parse(str[1]);
		double ans = Math.Sqrt(B * B - A * A);
		Console.WriteLine(ans);
	}
}
0