MCPcopy Create free account
hub / github.com/dongyi-kim/10weeks-codingtest / getMaximumGCD

Function getMaximumGCD

chapter04/problem_j/solution.cpp:54–92  ·  view source on GitHub ↗

* 게임의 규칙을 만족하면서 만들 수 있는 가장 큰 최대공약수를 반환하는 함수 * * @param n 주어진 카드의 수 * @param cards 각 카드에 적힌 숫자 배열 * @return */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 3

powIntFunction · 0.85
factorizeFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected