#include void init(int N, int M, std::vector A, std::vector B); std::vector encode(std::vector bits); std::vector decode(std::vector walk);