摘要: 超时了啊,看了人家的正确代码,思路差不多,但是我觉得他错了,可就是ACCEPT了我的代码#include "iostream"#include "algorithm"#define INF 100000using namespace std;struct node{ int l,r,h;}num[1010];struct{ int l,r;}dp[1010];bool cmp(node a,node b){return a.h>b.h;}int ab(int a){return a>0?a:(-a);}int min(int a,int b) 阅读全文
posted @ 2013-09-13 17:08 龙城星 阅读(131) 评论(0) 推荐(0) 编辑