上课老师讲的,记录一下。 int func(int m,int n) { int r=1; while(r!=0) { r=m%n; m=n; n=r; } return m; }
昵称 (必须填写)
邮箱地址 (不会显示) (必须填写)
网址
本文到目前为止还暂无回复