0_0_38498690_5542.cpp: In function 'int main()': 0_0_38498690_5542.cpp:22:72: error: 'gcd' is not a member of 'std' for(int i = 1, tmp; i <= n; ++i) cin >> tmp, curlcm = (curlcm * tmp)/std::gcd(curlcm, tmp); ^