Greatest Common Divisor (1) 썸네일형 리스트형 최대 공약수 구하기 최대 공약수(GCD, Greatest Common Divisor)를 구하는 알고리즘을 올립니다. 휴~ 모두 간만에 하나 헷갈리는군요~ Java로 최대 공약수 구하는 알고리즘을 찾는 분에게 도움이 되었으면 좋겠습니다. /** * Copyright (C) 2009, http://www.softwareinlife.com * * This file is part of "Software in Life". * * "Vision Software in Life" is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software.. 이전 1 다음