#include #include using namespace std; typedef vector VI; typedef vector VVI; inline void init(int n,VVI &c){ c.resize(n); for(auto &v:c){ v.resize(n); for(auto &u:v)u=0; } } void twotwo(int n,VVI &c){ init(n,c); int q=n/4; for(int i=0;i>n; switch(n%4){ case 2:lux(n,res);break; case 0:twotwo(n,res);break; default: odd(n,res);break; } for(int i=0;i