結果

問題 No.735 接線
ユーザー chocopuu
提出日時 2018-09-28 22:56:55
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 546 bytes
コンパイル時間 1,308 ms
コンパイル使用メモリ 157,932 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-12 07:08:25
合計ジャッジ時間 2,456 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

#define int long long

using namespace std;
#define rep(i,s,n) for(int i = s;i<n;i++)
#define repe(i,s,n) for(int i = s;i<=n;i++)
#define pb push_back
#define fi first
#define se second
typedef long long ll;
typedef pair<int,int>pint;
typedef vector<int>vint;
typedef vector<pint>vpint;
static const ll maxLL = (ll)1 << 62;
const ll MOD=1000000007,INF=1e18;
int dy[]={-1,0,1,0};
int dx[]={0,1,0,-1};

double a,b;

signed main(){
    cin>>a>>b;
    cout<< sqrt(b*b-a*a) << setprecision(9)<<endl;
    
    
    return 0;
}
0