QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#262855#6404. Shuttle TourGuanYunchangCompile Error//C++172.9kb2023-11-24 09:25:592023-11-24 09:25:59

Details

answer.code:20:12: error: ‘id’ does not name a type; did you mean ‘void’?
   20 |         vo}id change_(int p,int l,int r,int pos,int sta){
      |            ^~
      |            void
answer.code: In member function ‘void Chain::up(int)’:
answer.code:20:9: error: ‘vo’ was not declared in this scope
   20 |         vo}id change_(int p,int l,int r,int pos,int sta){
      |         ^~
answer.code: In member function ‘void Chain::change(int, int)’:
answer.code:46:17: error: ‘change_’ was not declared in this scope; did you mean ‘change’?
   46 |                 change_(1,1,n,pos,val);
      |                 ^~~~~~~
      |                 change