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

 

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