Этот коммит содержится в:
RybakovaSA
2025-05-27 20:02:51 +03:00
родитель 05250ed596
Коммит adfa8eee7c

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

@@ -3,6 +3,8 @@
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
#include <curl/curl.h>
using namespace std; using namespace std;
struct Input { struct Input {
@@ -36,10 +38,13 @@ Input input_data(istream& in_stream, bool prompt) {
} }
int main() { int main() {
auto in = input_data(cin, true); // true - выводить подсказки curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, true);
auto bins = make_histogram(in.numbers, in.bin_count); auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins); show_histogram_svg(bins);
curl_global_cleanup();
return 0; return 0;
} }
}