From a5f8509328698c5650a4415ce23c092ad3d2674e Mon Sep 17 00:00:00 2001 From: ChirkaAR Date: Sat, 24 May 2025 23:52:32 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20curl=20=D0=B2=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index df53d37..9686655 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; @@ -42,6 +43,8 @@ input_data(istream& in, bool prompt) int main() { + curl_global_init(CURL_GLOBAL_ALL); + size_t max_count; auto in = input_data(cin, true); auto bins = make_histogram(in.numbers, in.bin_count);