三角函数 运用数论的最大公约数。很简单。代码如下: #include<iostream> #include<cmath> using namespace std; int gcd(int x,int y) { int t=x%y