|  |  | @ -6,6 +6,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | #include "text.h" |  |  |  | #include "text.h" | 
			
		
	
		
		
			
				
					
					|  |  |  | #include "svg.h" |  |  |  | #include "svg.h" | 
			
		
	
		
		
			
				
					
					|  |  |  | #include "histogram_internal.h" |  |  |  | #include "histogram_internal.h" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | #include <curl/curl.h> | 
			
		
	
		
		
			
				
					
					|  |  |  | using namespace std; |  |  |  | using namespace std; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | struct Input { |  |  |  | struct Input { | 
			
		
	
	
		
		
			
				
					|  |  | @ -32,9 +33,11 @@ input_data(istream &tin, bool prompt){ | 
			
		
	
		
		
			
				
					
					|  |  |  |     tin >> in.bin_count; |  |  |  |     tin >> in.bin_count; | 
			
		
	
		
		
			
				
					
					|  |  |  |     return in; |  |  |  |     return in; | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | int main() { |  |  |  | int main() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     curl_global_init(CURL_GLOBAL_ALL); | 
			
		
	
		
		
			
				
					
					|  |  |  |     Input in = input_data(cin, false); |  |  |  |     Input in = input_data(cin, false); | 
			
		
	
		
		
			
				
					
					|  |  |  |     auto bins = make_histogramm(in.numbers, in.bin_count); |  |  |  |     auto bins = make_histogramm(in.numbers, in.bin_count); | 
			
		
	
		
		
			
				
					
					|  |  |  |     show_histogram_svg(bins); |  |  |  |     show_histogram_svg(bins); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |