foo.cc: In function 'void input()':
foo.cc:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
foo.cc:24:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &stock[i].value);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-20T07:02:32.771Z","handle":"2020-07-20T07:02:32.771Z","cache_start":"2020-07-20T07:02:32.778Z","read_cases":"2020-07-20T07:02:33.347Z","judge":"2020-07-20T07:02:33.348Z","done":"2020-07-20T07:02:38.444Z"}