foo.cc: In function 'int main()':
foo.cc:17:34: warning: unused variable 'ans2' [-Wunused-variable]
int N, sum=0,mon[100], ans1, ans2,id=0;
^~~~
foo.cc:28:10: warning: 'mon[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
ans1 = mon[0];
~~~~~^~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-18T22:09:20.829Z","handle":"2020-07-18T22:09:20.829Z","cache_start":"2020-07-18T22:09:20.837Z","read_cases":"2020-07-18T22:09:21.022Z","judge":"2020-07-18T22:09:21.022Z","done":"2020-07-18T22:09:21.434Z"}