foo.cc: In function 'lowprice* getLowPrice(int)':
foo.cc:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<pfv.size();i++) {
~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:41:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n; scanf("%d", &n);
~~~~~^~~~~~~~~~
foo.cc:42:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<n;i++) scanf("%d", &shop_price[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-30T12:17:14.134Z","handle":"2020-07-30T12:17:14.134Z","cache_start":"2020-07-30T12:17:14.141Z","read_cases":"2020-07-30T12:17:14.805Z","judge":"2020-07-30T12:17:14.805Z","done":"2020-07-30T12:17:15.149Z"}