|
|
@ -3,6 +3,7 @@
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "histogram.h"
|
|
|
|
#include "text.h"
|
|
|
|
#include "text.h"
|
|
|
|
#include "histogram_internal.h"
|
|
|
|
#include "histogram_internal.h"
|
|
|
|
|
|
|
|
#include "svg.h"
|
|
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
@ -29,6 +30,6 @@ input_data() {
|
|
|
|
int main() {
|
|
|
|
int main() {
|
|
|
|
Input in = input_data();
|
|
|
|
Input 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);
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|