foo.cc: In function 'void init()':
foo.cc:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define R(a) scanf("%d",&a)
              ~~~~~^~~~~~~~~
foo.cc:43:5: note: in expansion of macro 'R'
     R(n);
     ^
foo.cc:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define R(a) scanf("%d",&a)
              ~~~~~^~~~~~~~~
foo.cc:47:9: note: in expansion of macro 'R'
         R(x);
         ^
   
  
    自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。