foo.cc: In function 'int main()':
foo.cc:36:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(q.size()<k){
~~~~~~~~^~
foo.cc:21: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:23: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:00:28.367Z","handle":"2020-07-21T13:00:28.368Z","cache_start":"2020-07-21T13:00:28.375Z","read_cases":"2020-07-21T13:00:28.506Z","judge":"2020-07-21T13:00:28.506Z","done":"2020-07-21T13:00:29.196Z"}