結果
問題 |
No.735 接線
|
ユーザー |
👑 |
提出日時 | 2019-03-19 23:09:07 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 298 bytes |
コンパイル時間 | 1,366 ms |
コンパイル使用メモリ | 71,944 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-14 13:04:27 |
合計ジャッジ時間 | 1,965 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> #include <cmath> #include <iostream> #include <iomanip> int main() { double a,b; std::cin >> a >> b; std::cout << std::fixed << std::setprecision(7) << std::sqrt(b * b - a * a) << std::endl; return 0; }