hockey专题

[BZOJ 4800][Ceoi2015]Ice Hockey World Championship:双向搜索

点击这里查看原题 双向搜索模板题,n/2<=20刚好可以逐项枚举 /*User:SmallLanguage:C++Problem No.:4800*/#include<bits/stdc++.h>#define ll long long#define inf 999999999using namespace std;int n,tota,totb,hal;ll m,a[(1