0_0_17508647_7587.cpp: In function 'int main()': 0_0_17508647_7587.cpp:15:26: error: 'gcd' was not declared in this scope ans=a/gcd(a,b)*b;//换一下,先除后乘,免得数据溢出 ^