0_0_37120470_30436.cpp: In function 'int main()': 0_0_37120470_30436.cpp:76:23: error: 'gcd' was not declared in this scope if (gcd(K[i], K[j]) > 1) ^