摘要:
A. Lever题目:http://codeforces.com/contest/376/problem/A题意:杠杆原理比两边的重量input=^==outputbalance9===^==1outputleft2==^7==right41^52==balancePS:这题我大一刚来的时候做过,当... 阅读全文
摘要:
220 DIV2 B. Inna and Nineinput369727output2input123456789987654321output1题意:比如例子1:369727-->99727-->9997 , 369727-->99727-->997914545181例子2:14545181-->... 阅读全文
摘要:
Sum It Up题目:http://acm.hdu.edu.cn/showproblem.php?pid=1258题目的意思:给一个sum的值,给一个n,接下来有n个数这几个数随机组合等于sum时,输出怎么样组合的。注意:不能有重复的解题思路:用DFS深搜,这个我写的时候都把自己搞晕了,看了别... 阅读全文
摘要:
Red and BlackTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10133Accepted Submission(s): 6321Prob... 阅读全文
摘要:
Open the LockTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4534Accepted Submission(s): 1993Probl... 阅读全文