Atcoder ABC167 B-D (B...C-dfs||bitmasking D-simulate(复习倍增))
B-EasyLinearProgramming反思:简单分类讨论写这题码太快,漏了一种情况qwq。AC#includeusingnamespacestd;intmain(){ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);inta,b,c,d;cin>>a>>b>>c>>d;intans=0;if(d>a(n,vector(m));二维等价于v【n】【