随笔分类 -  A+B

摘要:Problem DescriptionKiki is considered as a smart girl in HDU, many boys fall in love with her! Now, kiki will finish her education, and leave school, what a pity! One day, zjt meets a girl, who is like kiki very much, in the campus, and calls her little kiki. Now, little kiki want to design a contai 阅读全文
posted @ 2012-08-16 16:37 jiai 阅读(249) 评论(0) 推荐(0)
摘要:A. yuna学数论Time Limit : 3000/1000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 24Accepted Submission(s) : 13Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem Description在学习完各类算法之后,yuna决定开始学习数论了。yuna神当然从最简单的最小公倍数学起喽~~~~~定义 为1,2,…,n的最小公倍数,例如,B1= 1,B2= 2,B3= 6,B4= 12 阅读全文
posted @ 2012-08-12 21:03 jiai 阅读(912) 评论(0) 推荐(0)
摘要:B. Merlininice’s HometaskFont: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionMerlininice dosen’t love math lessons, so he always ditches math class. But as the final exam is coming, now Merlininice is really regret his actions and wants to get a good mark for math. For that Ms. 阅读全文
posted @ 2012-08-12 16:34 jiai 阅读(267) 评论(0) 推荐(0)
摘要:CardTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10Accepted Submission(s): 9Problem DescriptionBearchild is playing a card game with himself. But first of all, he needs to shuffle the cards. His strategy is very simple: After putting all the car 阅读全文
posted @ 2012-08-09 15:12 jiai 阅读(171) 评论(0) 推荐(0)
摘要:E. 住房安排Time Limit:3000MSDescription第三十届夏季奥林匹克运动会于2012年7月27日至8月12日在英国首都伦敦举行,历时19天。为了更好地接待在这期间来自世界各地的参赛者,如何合理安排各宾馆的住房问题提到了日程。组委会已接到了大量的客户住宿定单,每张定单的内容包括要住宿的房间数,开始住宿时间和要住的天数。为了便于整个城市各宾馆的管理,组委会希望对这些定单进行安排,目的是用尽可能少的房间来满足这些定单,以便空出更多的房间用于安排流动游客。组委会请求Jenny来完成这个任务,对这些定单进行合理安排,使得满足这些定单要求的房间数最少。假设某个定单上的游客一旦被安排到 阅读全文
posted @ 2012-08-05 17:12 jiai 阅读(471) 评论(0) 推荐(0)
摘要:TroubleTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1159Accepted Submission(s): 375Problem DescriptionHassan is in trouble. His mathematics teacher has given him a very difficult problem called 5-sum. Please help him.The 5-sum problem is define 阅读全文
posted @ 2012-08-03 10:18 jiai 阅读(199) 评论(0) 推荐(0)