From 77874d3b689b9fba94b0d11da984dfdceb2b7951 Mon Sep 17 00:00:00 2001 From: ShirokovIV Date: Mon, 19 May 2025 12:18:46 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=20=D0=B1=D0=BE=D0=B6=D1=8C=D0=B5=D0=B9?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BC=D0=BE=D1=89=D1=8C=D1=8E=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B8=D0=BB=D0=B8=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index e72cb53..fe31698 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,10 @@ +#include + #include "histogram.h" #include "text.h" #include "svg.h" + + struct Input { vector vec; size_t korz{}; @@ -20,8 +24,8 @@ Input input_data(istream& in, bool promt = false) { return lin; } int main() { - - auto in = input_data(cin, true); + curl_global_init(CURL_GLOBAL_ALL); + auto in = input_data(cin); auto bins = make_histogram(in.korz, in.vec); show_histogram_svg(bins); }