BaranovEK 11 месяцев назад
Родитель 389a764382
Сommit 612ef2cde1

@ -44,13 +44,17 @@ int main(int argc, char* argv[])
if(curl) { if(curl) {
CURLcode res; CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, argv[1]); curl_easy_setopt(curl, CURLOPT_URL, argv[0]);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if (res!=CURLE_OK){
cerr << curl_easy_strerror(res);
exit(1);
}
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
} }
return 0; return 0;
} }
Input in = input_data(cin, false); Input in = input_data(cin, true);
vector<size_t> bins = make_histogram(in.numbers, in.bin_count); vector<size_t> bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins); show_histogram_svg(bins);

Загрузка…
Отмена
Сохранить