int GetCommonDevisor(int x, int y)
{
 
return (!y) ? x:GetCommonDevisor(y, x%y);
}

 

posted on 2009-07-06 14:48  Jackill  阅读(177)  评论(0编辑  收藏  举报