OFFLINE
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define MAX_SIZE 100000 #define MAX_BINS 1000 #define MAX_STARS 50 #include "utils.c" int asc ( const void * a , const void * b ) { double diff = ( * ( double * ) a ) - ( * ( double * ) b ); if ( diff < 0 ) return - 1 ; else if ( diff > 0 ) return 1 ; else return 0 ; } void printstar ( int a , int max ) { int b = ( max > 0 ) ? (( a * MAX_STARS ) / max ) : 0 ; for ( int i = 0 ; i < b ; i ++ ) printf ( "*" ); } double findmin ( double arr [] , int n ) { double min = arr [ 0 ]; for ( int i = 1 ; i < n ; i ++ ) if ( arr [ i ] < min ) ...