結果
問題 | No.735 接線 |
ユーザー |
![]() |
提出日時 | 2018-09-28 22:16:57 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 387 bytes |
コンパイル時間 | 818 ms |
コンパイル使用メモリ | 92,472 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-12 06:44:52 |
合計ジャッジ時間 | 1,801 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#include <algorithm> #include <iostream> #include <vector> #include <queue> #include <set> #include <map> #include <list> #include <cmath> #include <stack> #include <string> #include <cstring> #include <numeric> #include <iomanip> using namespace std; // const int inf=1e9+7;//0x3f // int main(){ double R,D; cin>>R>>D; cout<<fixed<<setprecision(12)<<sqrt(D*D-R*R)<<endl; return 0; }