Cod sursă (job #214967)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sqrt (clasele 9-10) | Compilator | cpp | 0.20 kb |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 mar. 2016 19:22:34 | Scor | 0 |
#include <cmath>
#include <fstream>
using namespace std;
ifstream f("sqrt.in");
ofstream g("sqrt.out");
int main()
{
int n,c;
f>>n;
c=sqrt(n);
g<<c;
return 0;
}