Cod sursă (job #406914)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sqrt (clasele 9-10) | Compilator | cpp | 0,22 kb |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 dec. 2018 20:52:21 | Scor | 0 |
#include <fstream>
#include <cmath>
using namespace std;
int main()
{
ifstream in("sqrt.in");
ofstream out("sqrt.out");
long long int n,S;
in>>n;
S=sqrt(n);
out<<S;
return 0;
}