408375: GYM103109 C Goomba Grouping

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

Description

C. Goomba Groupingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputExampleInput
2
8 1
1 10
Output
9 13 16 15 19 20 15 18
-1

加入题单

上一题 下一题 算法标签: