Submission #16376

#TimeUsernameProblemLanguageResultExecution timeMemory
16376eaststar제곱근 구하기 1 (gs13068_sqrt1)C++14
1 / 1
0 ms1084 KiB
#include <stdio.h> int main(){ long long i,n; scanf("%lld",&n); for(i=1;i*i<=n;++i); --i; printf("%lf",i+(double)(n-i*i)/(i*2+1)); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...