UVA - 12657 Boxes in a Line 双向链表
Boxes in a Line You have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4 kinds of commands: • 1 X Y : move box X to the left to Y (ignore th...
原创
2018-04-15 20:43:08 ·
147 阅读 ·
0 评论