DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
gcd function c++
ll
gcd
(
ll a
,
ll b
)
{
if
(
b
==
0
)
return
a
;
return
gcd
(
b
,
a
%
b
)
;
}
PREVIOUS
NEXT
Tagged:
#gcd
#function
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit