摘要: 此题不难,可以转化为求解区间内的个数和,树状数组比较便捷,结果大,用long long#include <iostream> #include <cstdio> #include <algorithm> #include <string.h> using namespace std; const int maxn=1000; int road[maxn+10][maxn+10]; int temp[maxn+10]; int n,m,k; long long num=0; int sumx[maxn+10]; int lowbit(int x) 阅读全文
posted @ 2013-01-26 15:31 LJ_COME!!!!! 阅读(124) 评论(0) 推荐(0)