摘要: B:train seats reservation时间限制:1000ms 内存限制:131072KYou are given a list of train stations, say from the station 1 to the station... 阅读全文
posted @ 2017-09-25 22:47 moonlight987 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 结构体排序的几种情况1.一个结构体中有三个元素,按照其中一个元素进行降序排列:先定义一个结构体:struct node { int s; int t; int w;}a[1005];然后写排序代码:int cmp(node a, no... 阅读全文
posted @ 2017-09-25 18:18 moonlight987 阅读(696) 评论(0) 推荐(0) 编辑