勉勉强强算是五题都出了
但是第五题的算法还是一知半解的状态
单纯在贴模板而已,回头重写
B. Young Table
英语捉急,发现是Special Judge后立马就出了。。
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <algorithm>
using namespace std;
int n,sum,aim;
int c[105];
struct node
{
int shu;
int x,y;
};
node s[10005];
int s2[10005];
int xx1[10005];
int yy1[10005];
int xx2[10005];
int yy2[10005];
bool cmp......
阅读全文