与‘数据结构-链表’有关的日志

uva12657

maksyuki 发表于 oj 分类,标签:
0
uva12657

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 this if X is already the left of Y )

• 2 X Y : move box X to the right to Y >>继续阅读

uva11988

maksyuki 发表于 oj 分类,标签:
0
uva11988

You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem with the keyboard is that sometimes the "home" key or the "end" key gets automatically pressed (internally).

You're not aware of this issue, since you >>继续阅读