0_0_31317699_14475.cpp: In function 'int main()': 0_0_31317699_14475.cpp:16:34: error: 'sqrt' was not declared in this scope for(i=1;i<(long long)sqrt(1.0*n)+1;i++) ^