#include #include namespace intcode { auto ParseStream(std::istream &in) -> std::vector { std::string str; std::vector result; while (std::getline(in, str, ',')) { result.push_back(std::stol(str)); } return result; } } // namespace