摘要: Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatusYi Sima was one of the best counselors of Cao Cao. He like... 阅读全文
posted @ 2015-10-28 09:00 可怜丶流年 阅读(252) 评论(0) 推荐(0)
摘要: 一年前,我大一,莫名其妙的被调剂到了计算机专业,然后就知道了有门课程叫C语言,也渐渐地知道了有ACM竞赛这个东西。但是却并不敢多想,我以为像ACM这么高大上的比赛是轮不到我上场的,自己好好学不挂科就行。然后不知道从什么时候开始,渐渐喜欢上了刷题的感觉,喜欢看自己在排行榜上的排名,然后就莫名其妙的进入... 阅读全文
posted @ 2015-10-23 11:29 可怜丶流年 阅读(270) 评论(0) 推荐(0)
摘要: E-pang Palace was built in Qin dynasty by Emperor Qin Shihuang in Xianyang, Shanxi Province. Itwas the largest palace ever built by human. It was so l... 阅读全文
posted @ 2015-10-07 19:52 可怜丶流年 阅读(237) 评论(0) 推荐(0)
摘要: DescriptionThis is yet another problem dealing with regular bracket sequences.We should remind you that a bracket sequence is called regular, if by in... 阅读全文
posted @ 2015-10-03 10:25 可怜丶流年 阅读(280) 评论(0) 推荐(0)
摘要: Description 明天,彼得就将要参加生物考试了。但是他不喜欢这个科目,但是d天前,彼得严厉的父母让他立即准备考试,为此,在第i天的时候,他要学习不少于minTimei的时间,并且不多于maxTimei的时间。此外,他父母警告彼得说考试前一天,他们会检查他是否按照他们的指示在复习。 今天,彼得... 阅读全文
posted @ 2015-10-01 10:45 可怜丶流年 阅读(274) 评论(0) 推荐(0)
摘要: During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei an... 阅读全文
posted @ 2015-09-30 21:39 可怜丶流年 阅读(182) 评论(0) 推荐(0)
摘要: time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a programing contest named SnakeUp,2npe... 阅读全文
posted @ 2015-09-28 20:52 可怜丶流年 阅读(260) 评论(0) 推荐(0)
摘要: Problem DescriptionLetLdenote the number of 1s in integerD’s binary representation. Given two integersS1andS2, we callDa WYH number ifS1≤L≤S2.With a g... 阅读全文
posted @ 2015-09-28 16:54 可怜丶流年 阅读(189) 评论(0) 推荐(1)
摘要: Problem DescriptionNpeople numbered from 1 toNare waiting in a bank for service. They all stand in a queue, but the queue never moves. It is lunch tim... 阅读全文
posted @ 2015-09-28 15:37 可怜丶流年 阅读(188) 评论(0) 推荐(0)
摘要: FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 #include #include #include #include #include #include using na... 阅读全文
posted @ 2015-09-23 17:33 可怜丶流年 阅读(245) 评论(0) 推荐(0)