回複:回複:回複:一道程序題

來源: 2009-07-24 16:24:36 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

The algorithm in my mind would terminate. However, I am not sure about the complexity.

I will give it more thoughts when I get time.

Nice problem!