Problem Description:Following is the recursive definition of Fibonacci sequence:Fi=???01Fi?1+Fi?2i = 0i = 1i > 1Now we need to check whether a number ...
                            
                            
                                分类:
其他好文   时间:
2015-11-19 14:34:02   
                                阅读次数:
141
                             
                    
                        
                            
                            
                                好长时间没做比赛了,原来就菜现在更菜,1004的题目没想到div.2赛后只有一个人做出来,做题的时候想到了做法但时间不多自己的奇葩代码不足以在比赛时间debug出来,赛后补了一发:题目&提交地址在这:http://acm.hdu.edu.cn/showproblem.php?pid=5565cons...
                            
                            
                                分类:
其他好文   时间:
2015-11-14 23:18:03   
                                阅读次数:
360
                             
                    
                        
                            
                            
                                Lie问题描述一个年级总共有N个学生,每个人属于唯一一个班级。现在他们站在一排,同班同学并不一定会站在一起,但每个人都会说一句话:“站在我左边的有Ai个同班同学,右边有Bi个同班同学”。然而并不是每个人都会说真话,老师也忘了他们说话的顺序,现在老师想知道最多有多少人的话同时不矛盾。输入描述输入有多组...
                            
                            
                                分类:
其他好文   时间:
2015-11-07 06:12:20   
                                阅读次数:
224
                             
                    
                        
                            
                            
                                Problem Description:John has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most lines. John wants to kn...
                            
                            
                                分类:
其他好文   时间:
2015-11-05 22:08:01   
                                阅读次数:
315
                             
                    
                        
                            
                            
                                Problem Description:One day, Dudu, the most clever boy, heard of ACM/ICPC, which is a very interesting game. He wants to take part in the game. But as...
                            
                            
                                分类:
其他好文   时间:
2015-11-04 21:14:35   
                                阅读次数:
211
                             
                    
                        
                            
                            
                                Problem Description:As we all know, Harry Porter learns magic at Hogwarts School. However, learning magical knowledge alone is insufficient to become ...
                            
                            
                                分类:
系统相关   时间:
2015-11-03 12:33:23   
                                阅读次数:
309
                             
                    
                        
                            
                            
                                Game问题描述XY在玩一个游戏:有N根柱子排成一排,编号为1到N,每个柱子上面有一块宝石,现在XY站在第S根柱子上,出口在第T跟柱子上,XY需要拿到所有宝石后从出口离开。每次XY可以走到相邻的柱子上,也可以使用超能力跳到第一根柱子或者第N根柱子上,如果离开了柱子之后再也不能到达这里。为了节省能量,...
                            
                            
                                分类:
其他好文   时间:
2015-11-02 01:31:44   
                                阅读次数:
299
                             
                    
                        
                            
                            
                                Problem Description:You have an array consisting of n integers:a1=1,a2=2,a3=3,…,an=n. Then give you m operators, you should process all the operators ...
                            
                            
                                分类:
其他好文   时间:
2015-11-01 17:56:33   
                                阅读次数:
267
                             
                    
                        
                            
                            
                                Numbers Accepts: 571 Submissions: 1212 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/262144 K (Java/Others) Problem DescriptionThere a...
                            
                            
                                分类:
其他好文   时间:
2015-10-31 23:01:50   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                Problem DescriptionThere are n numbers A1,A2....An{A}_{1},{A}_{2}....{A}_{n}A?1??,A?2??....A?n??,your task is to check whether there exists there diff...
                            
                            
                                分类:
其他好文   时间:
2015-10-31 22:59:17   
                                阅读次数:
253