code: изменён код программы

Этот коммит содержится в:
2024-06-30 18:37:34 +03:00
родитель 30b5c437b3
Коммит 3f1eb634b3

Просмотреть файл

@@ -2,6 +2,7 @@
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include "histogram.h" #include "histogram.h"
using namespace std; using namespace std;
struct Input { struct Input {
@@ -21,7 +22,12 @@ in >> cin.bin_count;
return cin; return cin;
} }
int main(){ int main(int argc, char* argv[]){
// curl_global_init(CURL_GLOBAL_ALL);
if(argc>1){
cout<<argc<<argv;
return 0;
}
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(bins, in.bin_count); show_histogram(bins, in.bin_count);