摘要:
代码优点:全整形计算。时间复杂度:O(min(m,n-m)) 空间复杂度:O(1) Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1int cal(int n, int m) 2{ 3int i, a, b, p; 4if(nm?n-m:m... 阅读全文
posted @ 2009-04-11 11:26
pozen
阅读(887)
评论(0)
推荐(0)
浙公网安备 33010602011771号