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

master
RyabovAS 10 месяцев назад
Родитель 30b5c437b3
Сommit 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);

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