acvay

导航

2014年8月6日 #

UVa 12657 Boxes in a Line(双向链表的应用)

摘要: Boxes in a LineYou have n boxes in a line on the table numbered 1 . . . n from left to right. Your task is to simulate 4kinds of commands:• 1 X Y : mo... 阅读全文

posted @ 2014-08-06 21:14 知足o 阅读(214) 评论(0) 推荐(0) 编辑

UVa 679 Dropping Balls

摘要: Dropping BallsA number ofKballs are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first visi... 阅读全文

posted @ 2014-08-06 14:51 知足o 阅读(148) 评论(0) 推荐(0) 编辑

UVa 11988 Broken Keyboard(链表的应用)

摘要: Broken Keyboard (a.k.a. Beiju Text)You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem with the keyboard... 阅读全文

posted @ 2014-08-06 10:26 知足o 阅读(168) 评论(0) 推荐(0) 编辑