100801b专题

B - Black and White Gym - 100801B

题意: 构造一个图使得黑色的四连通块为b个,白色四连通块为w个 思路: 只需要构造两行即可。 ACNEW #include <cstdio>#include <iostream>#include <cstring>#include <algorithm>#include <set>#include <queue>#include <map>#include <string>