KovalenkoDM 12 месяцев назад
Родитель fa4c10b31c
Сommit 173e795e1f

@ -4,6 +4,8 @@
#include "text.h"
#include "svg.h"
#include <curl/curl.h>
using namespace std;
@ -24,7 +26,13 @@ Input input_data(istream& stream) {
return in;
}
int main() {
int main(int argc, char* argv[]) {
if (argc > 1) {
for (int x = 0; x > argc; x++) {
cout << "argv[" << x << "] = " << argv[x];
}
return 0;
}
Input in = input_data(cin);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins);

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