結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,404 KB
testcase_01 AC 85 ms
15,368 KB
testcase_02 AC 83 ms
15,600 KB
testcase_03 AC 83 ms
15,448 KB
testcase_04 AC 84 ms
15,468 KB
testcase_05 AC 83 ms
15,428 KB
testcase_06 AC 82 ms
15,588 KB
testcase_07 AC 82 ms
15,632 KB
testcase_08 WA -
testcase_09 AC 84 ms
15,552 KB
testcase_10 AC 84 ms
15,464 KB
testcase_11 AC 83 ms
15,472 KB
testcase_12 WA -
testcase_13 AC 84 ms
15,500 KB
testcase_14 AC 84 ms
15,452 KB
testcase_15 AC 84 ms
15,592 KB
testcase_16 AC 84 ms
15,380 KB
testcase_17 AC 84 ms
15,560 KB
testcase_18 AC 87 ms
15,656 KB
testcase_19 AC 83 ms
15,660 KB
testcase_20 AC 84 ms
15,532 KB
testcase_21 AC 83 ms
15,364 KB
testcase_22 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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