摘要:
题目 Description Matija 的栅栏由 N 条木板组成,从左到右依次编号为 1…N。i 号木板的高度为 hi,每条木板的宽度是 1 cm。 Matija 想用一个宽度为 X cm 的滚筒刷来刷木板。使用滚筒刷时,要保证刷子完全接触栅栏(不能一部分接触一部分不接触);另外,还要保证滚筒 阅读全文
摘要:
题目 Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible 阅读全文
摘要:
题目 Description Farmer John suffered a terrible loss when giant Australian cockroaches ate the entirety of his hay inventory, leaving him with nothing 阅读全文
摘要:
题目 Description The cows have opened a new business, and Farmer John wants to see how well they are doing. The business has been running for N (1 <= N 阅读全文