結果
| 問題 |
No.735 接線
|
| コンテスト | |
| ユーザー |
Konton7
|
| 提出日時 | 2020-01-14 14:27:07 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 51 ms / 2,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 1,984 ms |
| コンパイル使用メモリ | 193,008 KB |
| 最終ジャッジ日時 | 2025-01-08 17:57:54 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
double r, d, ans;
cin >> r >> d;
ans = sqrt( d*d - r*r );
printf ("%.10f\n", ans);
return 0;
}
Konton7