結果
| 問題 | No.419 直角三角形 |
| コンテスト | |
| ユーザー |
yamanchu3776
|
| 提出日時 | 2017-08-07 15:31:56 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 1,000 ms |
| + 293µs | |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 81,280 KB |
| 最終ジャッジ日時 | 2026-07-18 15:56:18 |
| 合計ジャッジ時間 | 2,972 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import math hen = list(map(float, raw_input().split())) hens = sorted(hen) if hens[0] == hens[1]: mins = math.sqrt(hens[1]*hens[1] + hens[0]*hens[0]) else: mins = math.sqrt(hens[1]*hens[1] - hens[0]*hens[0]) print mins
yamanchu3776