This website requires JavaScript.
Explore
Help
Register
Sign In
dugulp
/
GolangStudy
Watch
1
Star
1
Fork
You've already forked GolangStudy
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
414b1b84d9
GolangStudy
/
pkg
/
MaxCommFactor
/
MaxCommFactor.go
9 lines
97 B
Go
Raw
Blame
History
package
MaxCommFactor
func
MaxComm
(
x
,
y
int
)
int
{
for
y
!=
0
{
x
,
y
=
y
,
x
%
y
}
return
x
}
Reference in New Issue
View Git Blame
Copy Permalink