foo.cc: In function 'int main()':
foo.cc:61:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     int t;   scanf("%d", &t);
              ~~~~~^~~~~~~~~~
foo.cc:63:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         for(int i=0;i<24;i++) scanf("%d", &input[i]);
                               ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:64:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         int n; scanf("%d", &n);
                ~~~~~^~~~~~~~~~
foo.cc:67:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             int h; scanf("%d", &h);
                    ~~~~~^~~~~~~~~~
   
  
    自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。