// You should implement this function void map_maze(int N); // You may call this function int query(int A, int B); // You should call this function exactly N-1 times void report_passageway(int A, int B);