結果
問題 | No.735 接線 |
ユーザー |
![]() |
提出日時 | 2019-09-14 19:08:31 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 621 ms |
コンパイル使用メモリ | 67,192 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 10:38:11 |
合計ジャッジ時間 | 1,552 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#include <iostream>#include <cmath>#include <iomanip>#include <cstdio>using namespace std;int main(){long double r,d;long double AL;cin>>r>>d;r*=r; //rの二乗d*=d; //dの二乗AL=sqrt(d-r);printf("%10.12Lf\n",AL);return (0);}