Main.cc: In function ‘int main()’:
Main.cc:13:11: error: ‘__gcd’ was not declared in this scope
h=__gcd(h,t[i]);
^~~~~
Main.cc:13:11: note: suggested alternative: ‘__gid_t’
h=__gcd(h,t[i]);
^~~~~
__gid_t