0_0_35979493_28286.cpp: In function 'int main()': 0_0_35979493_28286.cpp:21:39: error: '__gcd' was not declared in this scope if (m%j==0&&k>0&&k<=a[j]&&__gcd(j,k)==x) ^