# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
7598 | 2014-08-12T08:28:45 Z | jihoon | 제곱근 구하기 1 (gs13068_sqrt1) | C++ | 0 ms | 1088 KB |
#include<cstdio> long long int nn; long double prev,nw; int main(){ scanf("%lld",&nn); nw=10000.0; while(prev!=nw){ prev=nw; nw+=(nn/nw); nw/=2; } printf("%.6lf",prev); }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1088 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |