QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#474469#3098. Ancient Machineegypt_ioi2024_01Compile Error//C++203.6kb2024-07-12 18:52:272024-07-12 18:52:28

Details

Bruno.code:1:26: error: ‘std::vector’ has not been declared
    1 | void Bruno(int N, int L, std::vector<int> A){
      |                          ^~~
Bruno.code:1:37: error: expected ‘,’ or ‘...’ before ‘<’ token
    1 | void Bruno(int N, int L, std::vector<int> A){
      |                                     ^
Bruno.code: In function ‘void Bruno(int, int, int)’:
Bruno.code:2:8: error: ‘A’ was not declared in this scope
    2 |     if(A[0]==0){
      |        ^
Bruno.code:35:17: error: ‘Remove’ was not declared in this scope
   35 |                 Remove(j);
      |                 ^~~~~~
Bruno.code:39:13: error: ‘Remove’ was not declared in this scope
   39 |             Remove(i);
      |             ^~~~~~
Bruno.code:42:16: error: ‘Remove’ was not declared in this scope
   42 |     if(NAH!=-1)Remove(NAH);
      |                ^~~~~~
Bruno.code:44:16: error: ‘Remove’ was not declared in this scope
   44 |   if(rem[i]==0)Remove(i);
      |                ^~~~~~
Bruno.code:78:17: error: ‘Remove’ was not declared in this scope
   78 |                 Remove(j);
      |                 ^~~~~~
Bruno.code:82:13: error: ‘Remove’ was not declared in this scope
   82 |             Remove(i);
      |             ^~~~~~
Bruno.code:85:16: error: ‘Remove’ was not declared in this scope
   85 |     if(NAH!=-1)Remove(NAH);
      |                ^~~~~~
Bruno.code:87:16: error: ‘Remove’ was not declared in this scope
   87 |   if(rem[i]==0)Remove(i);
      |                ^~~~~~