Submission #7600

#TimeUsernameProblemLanguageResultExecution timeMemory
7600jihoon제곱근 구하기 1 (gs13068_sqrt1)C++98
0 / 1
0 ms1088 KiB
#include<stdio.h> double nn; double prev,nw; int main(){ scanf("%lf",&nn); nw=1; while(prev!=nw){ prev=nw; nw=nw+(nn/nw); nw/=2.0; } printf("%.6lf",prev); }
#Verdict Execution timeMemoryGrader output
Fetching results...