题解:多维的估价跟二维一样,每一维的贡献跟二维的‘x’、‘y’完全相同。
真不明白不会的是怎么想的,有区别么?!!
细节:
妈蛋的多组数据!调了好久啊、
然后行末还不能有空格,否则PE
除去这些,我是1A。。
可惜没有“除去”这一说。
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#define N 50100
#define K 10
#define inf 0x3f3f3f3f
using namespace std;
int judge,n,m,q;
struct Point
{
int c[K];
bool operator < (const Point &a)const{retur......
阅读全文