結果

問題 No.419 直角三角形
ユーザー rlangevinrlangevin
提出日時 2023-01-04 23:48:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 107 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 86,676 KB
実行使用メモリ 71,456 KB
最終ジャッジ日時 2023-08-18 20:14:05
合計ジャッジ時間 3,178 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,072 KB
testcase_01 AC 71 ms
71,440 KB
testcase_02 AC 71 ms
70,980 KB
testcase_03 AC 71 ms
71,276 KB
testcase_04 AC 71 ms
71,088 KB
testcase_05 AC 70 ms
71,232 KB
testcase_06 AC 70 ms
71,272 KB
testcase_07 AC 71 ms
71,192 KB
testcase_08 WA -
testcase_09 AC 70 ms
71,456 KB
testcase_10 AC 71 ms
71,192 KB
testcase_11 AC 72 ms
71,280 KB
testcase_12 WA -
testcase_13 AC 71 ms
71,196 KB
testcase_14 AC 71 ms
71,240 KB
testcase_15 AC 71 ms
71,248 KB
testcase_16 AC 73 ms
71,212 KB
testcase_17 AC 73 ms
70,896 KB
testcase_18 AC 72 ms
71,412 KB
testcase_19 AC 71 ms
71,360 KB
testcase_20 AC 71 ms
71,304 KB
testcase_21 AC 71 ms
70,980 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import *

a, b = map(int, input().split())
if a > b:
    a, b = b, a
print(sqrt(b ** 2 - a ** 2))
0