From 5df161bc2ba904aaafcc4190a2dad6ed957f9ca4 Mon Sep 17 00:00:00 2001 From: BykovDA Date: Wed, 21 May 2025 21:45:42 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8?= =?UTF-8?q?=D1=87=D0=B5=D1=81=D0=BA=D0=B0=D1=8F=20=D0=B1=D0=B8=D0=B1=D0=BB?= =?UTF-8?q?=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.cpp b/main.cpp index 9f23bd4..11840e5 100644 --- a/main.cpp +++ b/main.cpp @@ -1,8 +1,11 @@ +#include #include "histogram.h" #include "text.h" #include #include #include "svg.h" + + using namespace std; struct Input { vector numbers; @@ -26,6 +29,7 @@ input_data(istream& in,bool promt = false) { } 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);