QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#288438#7782. Ursa Minorucup-team1682Compile Error//C++207.5kb2023-12-22 17:22:552023-12-22 17:22:55

Details

answer.code: In member function ‘void unq1<T>::gocha()’:
answer.code:74:52: error: ‘tar’ was not declared in this scope; did you mean ‘oar’?
   74 |             for(int i=3913;i<=140111;++i)br=br+hsh(tar[i]).sh(i);
      |                                                    ^~~
      |                                                    oar
In file included from /usr/include/c++/11/cassert:44,
                 from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33,
                 from answer.code:1:
answer.code:77:24: error: ‘gbl’ was not declared in this scope
   77 |                 assert(gbl.lazy[a]==hsh(0,0));
      |                        ^~~
answer.code:79:45: error: ‘gbl’ was not declared in this scope
   79 |             for(int a=0;a<150000;++a)assert(gbl.arr[a]==gbl.oar[a]);
      |                                             ^~~