|
|
|
@ -1,10 +1,9 @@
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
#include "histogram.h"
|
|
|
|
|
#include "text.h"
|
|
|
|
|
#include "svg.h"
|
|
|
|
|
#include <curl/curl.h>
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -50,11 +49,8 @@ inp >> in.bin_count;
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
|
{
|
|
|
|
|
curl_global_init(CURL_GLOBAL_ALL);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int n;
|
|
|
|
|
bool prompt=true;
|
|
|
|
|
bool prompt=false;
|
|
|
|
|
auto in = input_data(cin, prompt);
|
|
|
|
|
double min,max;
|
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
|