Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
227 B
0
Indexable
Never
#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);
};