QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#101550#6313. 人员调度hyforcesCompile Error//C++207.3kb2023-04-30 10:07:292023-04-30 10:07:30

Details

answer.code: In function ‘void solver::forced_delete(long long int)’:
answer.code:169:17: error: too many arguments to function ‘void solver::upd_path(long long int, long long int)’
  169 |         upd_path(0,pos[i],1);
      |         ~~~~~~~~^~~~~~~~~~~~
answer.code:137:10: note: declared here
  137 |     void upd_path(int u,int x){
      |          ^~~~~~~~
answer.code: In function ‘int main()’:
answer.code:212:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  212 |     fread(Buf,1,BUFSIZE,stdin);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~