code: убрана лишняя строка const
Этот коммит содержится в:
@@ -65,7 +65,7 @@ vector<size_t> make_histogram(const vector<double>& numbers, size_t bin_count) {
|
||||
}
|
||||
|
||||
void show_histogram_text(const vector<size_t>& bins, size_t screen_width = SCREEN_WIDTH) {
|
||||
const size_t MAX_ASTERISK = screen_width - 3 - 1;
|
||||
|
||||
size_t max_count = bins[0];
|
||||
for (size_t count : bins) {
|
||||
if (count > max_count)
|
||||
|
||||
Ссылка в новой задаче
Block a user