0_0_21850648_24040.cpp: In function 'int main()': 0_0_21850648_24040.cpp:33:31: error: 'sqrt' was not declared in this scope printf("%d\n", (int)sqrt(2*n)); ^