摘要:
本来是一个很简单的线段树结果再update函数里忘更新tr[p]了害我卡了好久,太久没写线段树的过 #include<iostream> #define int long long using namespace std; const int N=2*1e5+5; struct tree{ int 阅读全文
摘要:
没看到这道题是多组测试数据输入 阅读全文
摘要:
#include<iostream> #define int long long using namespace std; int ans=0; int num[1<<11]; int f[110][1<<10][1<<10]; int s[1<<12]; int g[1<<12]; signed 阅读全文