|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
#include <curl/curl.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <string>
|
|
|
@ -30,6 +31,7 @@ Input input_data(istream& in, bool prompt = 0) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int main () {
|
|
|
|
int main () {
|
|
|
|
|
|
|
|
curl_global_init(CURL_GLOBAL_ALL);
|
|
|
|
auto in = input_data(cin);
|
|
|
|
auto in = input_data(cin);
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
show_histogram_svg(bins);
|
|
|
|
show_histogram_svg(bins);
|
|
|
|