摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 const int maxn = 10000 + 5; 7 int a[maxn]; 8 int f[maxn][15]; 9 10 void rmq(int cnt){ 11 memset(f, 0, sizeof(f)); 12 ... 阅读全文
posted @ 2018-03-28 21:52 ouyang_wsgwz 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 const int maxn = 500 + 10; 7 const int INF = 0x3f3f3f3f; 8 int pic[maxn][maxn]; //用来存图 9 int dis[maxn]; 10 int val[maxn], a... 阅读全文
posted @ 2018-03-28 21:10 ouyang_wsgwz 阅读(150) 评论(0) 推荐(0) 编辑