|
|
@ -1,5 +1,6 @@
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "text.h"
|
|
|
|
#include "text.h"
|
|
|
|
|
|
|
|
#include "svg.h"
|
|
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
@ -29,5 +30,5 @@ Input input_data() {
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
auto in = input_data();
|
|
|
|
auto in = input_data();
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
auto bins = make_histogram(in.numbers, in.bin_count);
|
|
|
|
show_histogram_text(bins);
|
|
|
|
show_histogram_svg(bins);
|
|
|
|
}
|
|
|
|
}
|
|
|
|