QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#499696#6370. Slot Machineucup-team1005#Compile Error//C++202.1kb2024-07-31 17:11:122024-07-31 17:11:12

详细

answer.code:55:2: error: stray ‘#’ in program
   55 | }#include<bits/stdc++.h>
      |  ^
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:11: error: ‘bits’ was not declared in this scope
   55 | }#include<bits/stdc++.h>
      |           ^~~~
answer.code:55:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
   55 | }#include<bits/stdc++.h>
      |                ^~~~
      |                std
answer.code:55:3: error: ‘include’ does not name a type
   55 | }#include<bits/stdc++.h>
      |   ^~~~~~~
answer.code:57:11: error: redefinition of ‘const int N’
   57 | const int N = 1e5 + 5;
      |           ^
answer.code:3:11: note: ‘const int N’ previously defined here
    3 | const int N = 1e5 + 5;
      |           ^
answer.code:58:11: error: redefinition of ‘const int inf’
   58 | const int inf = 1e9;
      |           ^~~
answer.code:4:11: note: ‘const int inf’ previously defined here
    4 | const int inf = 1e9;
      |           ^~~
answer.code:59:5: error: redefinition of ‘int n’
   59 | int n;
      |     ^
answer.code:5:5: note: ‘int n’ previously declared here
    5 | int n;
      |     ^
answer.code:60:13: error: redefinition of ‘std::vector<int> c [100005]’
   60 | vector<int> c[N];
      |             ^
answer.code:6:13: note: ‘std::vector<int> c [100005]’ previously defined here
    6 | vector<int> c[N];
      |             ^
answer.code:61:5: error: redefinition of ‘int m1 [100005]’
   61 | int m1[N], m2[N];
      |     ^~
answer.code:7:5: note: ‘int m1 [100005]’ previously declared here
    7 | int m1[N], m2[N];
      |     ^~
answer.code:61:12: error: redefinition of ‘int m2 [100005]’
   61 | int m1[N], m2[N];
      |            ^~
answer.code:7:12: note: ‘int m2 [100005]’ previously declared here
    7 | int m1[N], m2[N];
      |            ^~
answer.code:62:6: error: redefinition of ‘void push(int, int)’
   62 | void push(int x, int y){
      |      ^~~~
answer.code:8:6: note: ‘void push(int, int)’ previously defined here
    8 | void push(int x, int y){
      |      ^~~~
answer.code:69:5: error: redefinition of ‘int getans(int, int)’
   69 | int getans(int x, int y){
      |     ^~~~~~
answer.code:15:5: note: ‘int getans(int, int)’ previously defined here
   15 | int getans(int x, int y){
      |     ^~~~~~
answer.code:74:6: error: redefinition of ‘bool v [100005]’
   74 | bool v[N];
      |      ^
answer.code:20:6: note: ‘bool v [100005]’ previously declared here
   20 | bool v[N];
      |      ^
answer.code:75:5: error: redefinition of ‘int siz [100005]’
   75 | int siz[N];
      |     ^~~
answer.code:21:5: note: ‘int siz [100005]’ previously declared here
   21 | int siz[N];
      |     ^~~
answer.code:76...