code: Убрана лишняя const также из функции show

Этот коммит содержится в:
2025-04-14 02:02:03 +03:00
родитель 6dda7b6e6a
Коммит fefbb74768

Просмотреть файл

@@ -64,7 +64,7 @@ vector<size_t> make_histogram(const vector<double>& numbers, size_t bin_count) {
return bins; return bins;
} }
void show_histogram_text(const vector<size_t>& bins, size_t screen_width = SCREEN_WIDTH) { void show_histogram_text(const vector<size_t>& bins) {
size_t max_count = bins[0]; size_t max_count = bins[0];
for (size_t count : bins) { for (size_t count : bins) {