advent-of-code/2022/cpp/template/answer.hpp

29 lines
389 B
C++
Raw Normal View History

2023-08-02 11:50:10 +02:00
#include "lib.hpp"
#include <string>
#ifndef VERBOSE
#define VERBOSE 0
#endif
#ifndef PART
#define PART 1
#endif
struct A {
bool operator==(const A& rhs) const {
return this->== rhs.;
}
};
typedef A Input;
inline std::ostream& operator<<(std::ostream& os, Input& inp) {
os << inp.;
return os;
}
Input get_input(const char*);
std::string get_result(Input&);