摘要: Description一年一度的哈理工选美大赛开始了.来自各个院系的N个美女们都在一起排成一排,然后从左到右给他们标号(1-N),评委叫兽开始观摩,由于身高高低都不同, 叫兽想从中选出尽可能多的人使得他们的身高从左到右依次递增,你能帮助叫兽吗?Input 输入数据第一行一个数据表示美女的个数N(0... 阅读全文
posted @ 2015-04-19 22:05 unicoe 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 列车调度(Train)DescriptionFigure 1 shows the structure of a station for train dispatching.Figure 1In this station, A is the entrance for each train and B ... 阅读全文
posted @ 2015-04-19 20:39 unicoe 阅读(700) 评论(0) 推荐(0) 编辑