408388: GYM103110 D Apple Orchard

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

D. Apple Orchardtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
3 4 2 1 10 10 20 1
Output
7

加入题单

上一题 下一题 算法标签: