foo.cc: In function 'int main()':
foo.cc:46:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(q.size()<k){
~~~~~~~~^~
foo.cc:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&pp);
~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:27:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
~~~~~^~~~~~~~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-21T13:36:11.743Z","handle":"2020-07-21T13:36:11.743Z","cache_start":"2020-07-21T13:36:11.750Z","read_cases":"2020-07-21T13:36:11.870Z","judge":"2020-07-21T13:36:11.870Z","done":"2020-07-21T13:36:12.576Z"}