Этот коммит содержится в:
2025-05-17 17:21:59 +03:00
родитель 534cf3031d
Коммит 132039d4de

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

@@ -3,6 +3,8 @@
#include "histogram.h"
#include "text.h"
#include "svg.h"
#include <curl/curl.h>
using namespace std;
struct Input {
@@ -32,9 +34,11 @@ input_data(istream& in, bool prompt) {
int
main() {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, true);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins);
return 0;
}