Untitled
unknown
plain_text
3 years ago
227 B
7
Indexable
#include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int main()
{
// #1
int a, b;
cin >> a >> b;
// a*x^2 = b
// x^2 = b/a
// x = sqrt(b/a)
cout << sqrt(b / a);
};Editor is loading...