(模板)gcd

树下

2018-09-17 20:39:49

Personal

``` int gcd(int x,int y){ if(x%y==0) return y; else return (gcd(y,x%y)); } ```