02 2017 档案
摘要:Description A palindrome is a string of symbols that is equal to itself when reversed. Given an input string, not necessarily a palindrome, compute th
阅读全文
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 23060 Accepted Submission(s): 9172 Problem Descr
阅读全文
摘要:刘汝佳上的题目。 刘汝佳书上的做法明显更加精简……不过刚学STL……老老实实的把四种行为做出来比较靠谱……
阅读全文
摘要:题目链接:http://jnuacm.club:8080/oj/problem_show.php?pid=1032 小明喜欢把土豆块放在食物处理器中处理。长度不超过H的土豆块放入处理器中,处理器每秒处理长度为k(即土豆块长度减少k)。如果土豆块长度小于k,土豆块会被完全处理掉。 小明有n块土豆,第i
阅读全文
摘要:Description A friend of you has just bought a new computer. Until now, the most powerful computer he ever used has been a pocket calculator. Now, look
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1002 Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is t
阅读全文
摘要:Description This puzzle consists of a random sequence of m black disks and n white disks on an oval-shaped track, with a turnstile capable of flipping
阅读全文
摘要:Description You are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenagers may use to fool their frien
阅读全文
摘要:Description Zombies love to eat brains. Yum. Input The first line contains a single integer n indicating the number of data sets. The following n line
阅读全文
摘要:Description TEX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, o
阅读全文
摘要:Description Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided tha
阅读全文