摘要:        
这个问题其实并不难,主要是要采用合理的数据结构。我用的是数组,int mul[1000],并将每个元素限定在 unit = 100 即 100 进制。效率的确是有待改进,不过除非你要算宇宙的大小,否则耗时可以忽略不计。关键是简短易懂,可移植。[代码]上面的代码有个对0的打印问题(详见1楼),已进行修正:[代码]    阅读全文
posted @ 2010-04-05 23:48
长江西岸
阅读(1106)
评论(2)
推荐(1)
        
            
        
        
摘要:        
Crashing BalloonTime Limit: 1 Second  Memory Limit: 32768 KB On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV.  The rule is very simple. On the ground there a...    阅读全文
posted @ 2010-04-05 22:41
长江西岸
阅读(398)
评论(0)
推荐(1)
        
                    
                
浙公网安备 33010602011771号