题意:
这个题目和之前发的1840基本是一个思路
如果裸枚举的话,是n^4。然后就考虑分成两边枚举,先枚举两个值的和,存在哈希表中,然后在枚举另外两个值的和,查哈希表中它的相反数。
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <math.h>
using namespace std;
const int maxn=10000000;
long long ans;
int hash[maxn],lon;
struct
{
}data[maxn*2];
int a[4444][5];
int insert(int a,int b)
{
}
int check(int a,int b)
{
}
int main()
{
}