0_0_30945851_10809.cpp: In function 'int main()': 0_0_30945851_10809.cpp:14:29: error: 'sqrt' was not declared in this scope for(int i=sqrt(n);i>0;i--) ^