QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#682591 | #7738. Equivalent Rewriting | ucup-team5126# | Compile Error | / | / | C++20 | 3.6kb | 2024-10-27 16:13:35 | 2024-10-27 16:13:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:89:11: error: redefinition of ‘const int maxn’ 89 | const int maxn = 2000005; | ^~~~ answer.code:6:11: note: ‘const int maxn’ previously defined here 6 | const int maxn = 1000005; | ^~~~ answer.code:90:5: error: redefinition of ‘int n’ 90 | int n,m; | ^ answer.code:7:5: note: ‘int n’ previously declared here 7 | int n,m; | ^ answer.code:90:7: error: redefinition of ‘int m’ 90 | int n,m; | ^ answer.code:7:7: note: ‘int m’ previously declared here 7 | int n,m; | ^ answer.code:91:5: error: redefinition of ‘int in [1000005]’ 91 | int in[maxn],out[maxn],ans[maxn]; | ^~ answer.code:8:5: note: ‘int in [1000005]’ previously declared here 8 | int in[maxn],out[maxn],ans[maxn]; | ^~ answer.code:91:14: error: redefinition of ‘int out [1000005]’ 91 | int in[maxn],out[maxn],ans[maxn]; | ^~~ answer.code:8:14: note: ‘int out [1000005]’ previously declared here 8 | int in[maxn],out[maxn],ans[maxn]; | ^~~ answer.code:91:24: error: redefinition of ‘int ans [1000005]’ 91 | int in[maxn],out[maxn],ans[maxn]; | ^~~ answer.code:8:24: note: ‘int ans [1000005]’ previously declared here 8 | int in[maxn],out[maxn],ans[maxn]; | ^~~ answer.code:92:12: error: redefinition of ‘std::vector<int> pos [1000005]’ 92 | vector<int>pos[maxn],g[maxn]; | ^~~ answer.code:9:12: note: ‘std::vector<int> pos [1000005]’ previously defined here 9 | vector<int>pos[maxn],g[maxn]; | ^~~ answer.code:92:22: error: redefinition of ‘std::vector<int> g [1000005]’ 92 | vector<int>pos[maxn],g[maxn]; | ^ answer.code:9:22: note: ‘std::vector<int> g [1000005]’ previously defined here 9 | vector<int>pos[maxn],g[maxn]; | ^ answer.code:93:11: error: redefinition of ‘std::queue<int> que’ 93 | queue<int>que; | ^~~ answer.code:10:11: note: ‘std::queue<int> que’ previously declared here 10 | queue<int>que; | ^~~ answer.code:94:6: error: redefinition of ‘void update()’ 94 | void update(){ | ^~~~~~ answer.code:11:6: note: ‘void update()’ previously defined here 11 | void update(){ | ^~~~~~ answer.code:98:6: error: redefinition of ‘void bfs()’ 98 | void bfs(){ | ^~~ answer.code:16:6: note: ‘void bfs()’ previously defined here 16 | void bfs(){ | ^~~ answer.code:111:6: error: redefinition of ‘void init()’ 111 | void init(){ | ^~~~ answer.code:29:6: note: ‘void init()’ previously defined here 29 | void init(){ | ^~~~ answer.code:157:5: error: redefinition of ‘int main()’ 157 | int main(){ | ^~~~ answer.code:75:5: note: ‘int main()’ previously defined here 75 | int main(){ | ^~~~