#include #include #include "ktourboard.h" #include "pos.h" using namespace std; int main(int argc, char **argv) { int width, height, x, y; stringstream(argv[1]) >> width; stringstream(argv[2]) >> height; stringstream(argv[3]) >> x; stringstream(argv[4]) >> y; KTourBoard board(width, height); board.setPos(Pos(x, y)); board.solve(); cout << board; return 0; }