#ifndef STRUCT_SOLUTION #define STRUCT_SOLUTION #include #include class solution { public: enum kind_e { all, none, specific, } kind; unsigned n; int* input = NULL; public: solution(kind_e k): kind(k) { ; } solution(unsigned n_, int* input_): kind(solution::specific), n(n_), input(input_) { ; } void print(); ~solution() { delete[] input; } }; #endif