Untitled
Anonymous
plain_text
12/17/2022 3:56 PM
304 B
21
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...