#include <iostream>
#include <vector>
#include "text.h"
using namespace std;

//âûâîä
void show_histogram_text(const vector<size_t>& bins, double bin_size) {
    for (size_t i = 0; i < bins.size(); i++) {
        cout << bins[i] << " | ";

        for (size_t j = 0; j < bins[i]; j++) {
            cout << "*";
        }
        cout << endl;
    }
}