#include using namespace std; void print(std::vector v){ for(int i=0;i>n; vector res(n); for(int i=0;i