@ -10,10 +10,13 @@ struct Input{
size_t bin_count{};
};
Input
input_data(istream& in)
input_data(istream& in, bool prompt=false)
{
Input inn;
size_t number_count;
if (prompt){
cerr << "Enter count, numbers and bin_count\n";
}
in >> number_count;
inn.numbers.resize(number_count);