#define OLC_PGE_APPLICATION #include "pixelGameEngine.h" #include "olcutils.h" using namespace olc; int main() { std::ifstream file("input"); std::arraystacks={ { "ZJNWPS", "GST", "VQRLH", "VSTD", "QZTDBMJ", "MWTJDCZL", "LPMWGTJ", "NGMTBFQH", "RDGCPBQW" }, }; std::string line; for (int i=0;i<10;i++){ std::getline(file,line); } while (file.good()){ std::getline(file,line); int marker=line.find_first_of(' '); int prevmarker=0; int move=std::atoi(line.substr(marker+1,line.find_first_of(' ',marker+1)-marker).c_str()); std::cout<