Сравнить коммиты
2 Коммитов
2b785f8a6f
...
93c5c1fd42
| Автор | SHA1 | Дата | |
|---|---|---|---|
| 93c5c1fd42 | |||
| 0dbf529d3c |
7
main.cpp
7
main.cpp
@@ -33,8 +33,13 @@ Input input_data(istream& in, bool prompt) {
|
|||||||
return inp;
|
return inp;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main() {
|
int main(int argc, char* argv[]) {
|
||||||
curl_global_init(CURL_GLOBAL_ALL);
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
|
if (argc > 1) {
|
||||||
|
for (size_t i = 0; i < argc; i++) {
|
||||||
|
cerr << "argv [" << i << "] = " << argv[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
auto in = input_data(cin, true);
|
auto in = input_data(cin, true);
|
||||||
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);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user