foo.cc: In function 'void getLowPrice(int, lowprice*)':
foo.cc:26: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:49: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:50: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:46:53.218Z","handle":"2020-07-30T12:46:53.218Z","cache_start":"2020-07-30T12:46:53.225Z","read_cases":"2020-07-30T12:46:53.348Z","judge":"2020-07-30T12:46:53.349Z","done":"2020-07-30T12:47:02.640Z"}