摘要:
The problemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k? 1 ? 2 ? ... ? n = kFor example: toobtaink = 12, the expression to be used will be:- 1 + 2 + 3 + 4 + 5 + 6 - 7 = 12withn = 7The InputThe first line isthe 阅读全文
posted @ 2012-12-09 14:21
ACPrime
阅读(183)
评论(0)
推荐(0)
浙公网安备 33010602011771号