摘要: 输入 1500 3150 300100 200 输出结果470 471100 200150 300470 471 #include #includeusing namespace std;struct node{ int a ; int b;}s[100];int compare(const void *a,const void *b){ node *pa=(node *... 阅读全文
posted @ 2014-05-01 15:53 hansongjiang8 阅读(165) 评论(0) 推荐(0) 编辑