ural 1297. Palindrome
摘要:Time limit: 1.0 secondMemory limit: 64 MB The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the
阅读全文
NOIP2016 愤怒的小鸟
摘要:Description Input Output Sample Input Sample Input1:22 01.00 3.003.00 3.005 21.00 5.002.00 8.003.00 9.004.00 8.005.00 5.00Sample Input2:32 01.41 2.001
阅读全文
SPOJ694Distinct Substrings&&SPOJ705New Distinct Substrings
摘要:Given a string, we need to find the total number of its distinct substrings. Input T- number of test cases. T<=20; Each test case consists of one stri
阅读全文
BZOJ 2330: [SCOI2011]糖果
摘要:Time Limit: 10 Sec Memory Limit: 128 MBSubmit: 5540 Solved: 1814[Submit][Status][Discuss] Description 幼儿园里有N个小朋友,lxhgww老师现在想要给这些小朋友们分配糖果,要求每个小朋友都要分到糖果
阅读全文
POJ 3261Milk Patterns
摘要:Time Limit: 5000MS Description Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he
阅读全文
HDU 1043 Eight
摘要:Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22222 Accepted Submission(s): 5963Special Judge
阅读全文
POJ 1743Musical Theme
摘要:Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 27889 Accepted: 9413 Description A musical melody is represented as a sequence of N (1<=N<=
阅读全文
BZOJ 2879: [Noi2012]美食节
摘要:Description CZ市为了欢迎全国各地的同学,特地举办了一场盛大的美食节。作为一个喜欢尝鲜的美食客,小M自然不愿意错过这场盛宴。他很快就尝遍了美食节所有的美食。然而,尝鲜的欲望是难以满足的。尽管所有的菜品都很可口,厨师做菜的速度也很快,小M仍然觉得自己桌上没有已经摆在别人餐桌上的美食是一件无
阅读全文
BZOJ 1070: [SCOI2007]修车
摘要:Time Limit: 1 Sec Memory Limit: 128 MB Description 同一时刻有N位车主带着他们的爱车来到了汽车维修中心。维修中心共有M位技术人员,不同的技术人员对不同 的车进行维修所用的时间是不同的。现在需要安排这M位技术人员所维修的车及顺序,使得顾客平均等待的时间
阅读全文