結果

問題 No.419 直角三角形
ユーザー tanukidontanukidon
提出日時 2018-03-26 04:24:26
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 65 bytes
コンパイル時間 60 ms
コンパイル使用メモリ 11,496 KB
実行使用メモリ 15,680 KB
最終ジャッジ日時 2023-09-07 12:24:44
合計ジャッジ時間 3,132 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
15,596 KB
testcase_01 AC 91 ms
15,680 KB
testcase_02 AC 84 ms
15,424 KB
testcase_03 AC 84 ms
15,576 KB
testcase_04 AC 84 ms
15,408 KB
testcase_05 AC 84 ms
15,472 KB
testcase_06 AC 84 ms
15,504 KB
testcase_07 AC 85 ms
15,384 KB
testcase_08 WA -
testcase_09 AC 85 ms
15,448 KB
testcase_10 AC 85 ms
15,432 KB
testcase_11 AC 84 ms
15,668 KB
testcase_12 WA -
testcase_13 AC 85 ms
15,392 KB
testcase_14 AC 86 ms
15,556 KB
testcase_15 AC 84 ms
15,392 KB
testcase_16 AC 85 ms
15,432 KB
testcase_17 AC 84 ms
15,432 KB
testcase_18 AC 84 ms
15,636 KB
testcase_19 AC 84 ms
15,440 KB
testcase_20 AC 84 ms
15,572 KB
testcase_21 AC 85 ms
15,548 KB
testcase_22 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.chomp.split.map(&:to_f)
p ((n.max)**2 - (n.min)**2)**0.5
0