# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
27237 | TAMREF | 제곱근 구하기 1 (gs13068_sqrt1) | C++11 | 0 ms | 1128 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
#include <math.h>
int main(){
long long n;
scanf("%lld",&n);
long long a=(int)sqrt(n);
printf("%.6f\n",a+(double)(n-a*a)/(2*a+1));
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |