DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
gcd
static
int
gcd
(
int
a
,
int
b
)
{
if
(
b
==
0
)
return
a
;
return
gcd
(
b
,
a
%
b
)
;
}
Source by en.wikipedia.org #
PREVIOUS
NEXT
Tagged:
#gcd
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit