上课老师讲的,记录一下。 int func(int m,int n) { int r=1; while(r!=0) { r=m%n; m=n; n=r; } return m; } 阅读全文
阅读全文