摘要:
Submissions of online judge(1021)问题描述An online judge is a system to test programs in programming contests. The system can compile and execute codes, a... 阅读全文
摘要:
最小代价树(0404)问题描述以下方法称为最小代价的字母树:给定一正整数序列,例如:4,1,2,3,在不改变数的位置的条件下把它们相加,并且用括号来标记每一次加法所得到的和。例如:((4+1)+ (2+3))=((5)+(5))=10。除去原数不4,1,2,3之外,其余都为中间结果,如5,5,10,... 阅读全文
摘要:
K-lucky-number(0917)问题描述K-lucky-number is defined as add up the number of each bit is a multiple of K.for example, 24 is a 3-lucky-number,because 2+4=... 阅读全文