摘要: View Angle View Angle Description Flatland has recently introduced a new type of an eye check for the driver's licence. The check goes like that: ther 阅读全文
posted @ 2016-10-20 13:44 唐唐123 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Fibonacci again and again Fibonacci again and again Description 任何一个大学生对菲波那契数列(Fibonacci numbers)应该都不会陌生,它是这样定义的: F(1)=1; F(2)=2; F(n)=F(n-1)+F(n-2)(n 阅读全文
posted @ 2016-10-20 07:19 唐唐123 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Largest prime factor Description Everybody knows any number can be combined by the prime number. Now, your task is telling me what position of the lar 阅读全文
posted @ 2016-10-18 18:31 唐唐123 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Wormholes Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it 阅读全文
posted @ 2016-10-11 22:57 唐唐123 阅读(185) 评论(0) 推荐(0) 编辑
摘要: How Many Equations Can You Find Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 892 Accepted Subm 阅读全文
posted @ 2016-10-06 17:08 唐唐123 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Misha and Forest Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Misha and Forest Description Let's define a forest as a non-dir 阅读全文
posted @ 2016-09-25 17:19 唐唐123 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Misha and Changing Handles Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Description Misha hacked the Codeforces site. Then he 阅读全文
posted @ 2016-09-25 11:27 唐唐123 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 参考文件地址: http://baike.baidu.com/link?url=c3Pk6I0Ps1T0Z8FFqeLOn3MBvd_L7ZibjShlEcduNKNvxKkkndMgTva-JDiOrMxg-VrdMXaA1IWNjVBmnU3P9_kZ-nRkPfaC4l_aGPS1WBK sy 阅读全文
posted @ 2016-09-25 09:00 唐唐123 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 类模板:template <class T1, class T2> struct pair 参数:class T1是第一个值的数据类型,class T2是第二个值的数据类型。 功能:pair将一对值(可以是不同的数据类型)组合成一个值,两个值可以分别用pair的两个公有函数first和second访 阅读全文
posted @ 2016-09-25 08:59 唐唐123 阅读(443) 评论(0) 推荐(0) 编辑
摘要: New Year Book Reading Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Description New Year is coming, and Jaehyun decided to rea 阅读全文
posted @ 2016-09-23 15:47 唐唐123 阅读(203) 评论(0) 推荐(0) 编辑