0_0_31908876_23942.cpp: In function 'int main()': 0_0_31908876_23942.cpp:17:44: error: 'sqrt' was not declared in this scope long long x = (long long)sqrt((p - 1) / 3); ^