From f1996c56e7fc114f31605136859fa27b518a2db0 Mon Sep 17 00:00:00 2001 From: victoriaCS Date: Mon, 29 Sep 2025 11:06:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=B0=D1=8F=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/main.cpp b/main.cpp index 2b4e4a4..d4689b4 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,6 @@ #include #include -#include "histogram.h" +#include "histogram.h1.h" #include "svg.h" #include @@ -36,13 +36,13 @@ Input input_data(istream& in, bool prompt=false) { int main(){ - if (curl_global_init(CURL_GLOBAL_ALL)!=0){ - cerr << "failed cURL" << endl; - return 1; - }; - auto in = input_data(cin); - auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_svg(bins); - curl_global_cleanup(); + if (curl_global_init(CURL_GLOBAL_ALL)!=0){ + cerr << "failed cURL" << endl; + return 1; + }; + auto in = input_data(cin); + auto bins = make_histogram(in.numbers, in.bin_count); + show_histogram_svg(bins); + curl_global_cleanup(); }