結果
| 問題 |
No.419 直角三角形
|
| コンテスト | |
| ユーザー |
mesame3993
|
| 提出日時 | 2021-11-16 15:18:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 252 bytes |
| コンパイル時間 | 183 ms |
| コンパイル使用メモリ | 82,376 KB |
| 実行使用メモリ | 54,364 KB |
| 最終ジャッジ日時 | 2024-12-17 14:26:18 |
| 合計ジャッジ時間 | 1,920 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 WA * 3 |
ソースコード
def main():
from sys import stdin
input=stdin.readline
import math
# n = int(input())
# s = input()[:-1]
a,b = map(int, input().split())
# A = list(map(int, input().split()))
if a > b:
a,b = b,a
print(math.sqrt(b*b - a*a))
main()
mesame3993