QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#189458 | #4401. Prize | znstz# | Compile Error | / | / | C++20 | 8.1kb | 2023-09-27 15:26:50 | 2024-07-04 02:10:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:234:11: error: redefinition of ‘const long long int mod’ 234 | const int mod=998244353; | ^~~ answer.code:28:11: note: ‘const long long int mod’ previously defined here 28 | const int mod=998244353; | ^~~ answer.code:235:11: error: redefinition of ‘const long long int inf’ 235 | const int inf=0x3f3f3f3f; | ^~~ answer.code:29:11: note: ‘const long long int inf’ previously defined here 29 | const int inf=0x3f3f3f3f; | ^~~ answer.code:236:11: error: redefinition of ‘const long long int INF’ 236 | const int INF=1e18; | ^~~ answer.code:30:11: note: ‘const long long int INF’ previously defined here 30 | const int INF=1e18; | ^~~ answer.code:237:5: error: redefinition of ‘long long int N’ 237 | int N,K,Q,T; | ^ answer.code:31:5: note: ‘long long int N’ previously declared here 31 | int N,K,Q,T; | ^ answer.code:237:7: error: redefinition of ‘long long int K’ 237 | int N,K,Q,T; | ^ answer.code:31:7: note: ‘long long int K’ previously declared here 31 | int N,K,Q,T; | ^ answer.code:237:9: error: redefinition of ‘long long int Q’ 237 | int N,K,Q,T; | ^ answer.code:31:9: note: ‘long long int Q’ previously declared here 31 | int N,K,Q,T; | ^ answer.code:237:11: error: redefinition of ‘long long int T’ 237 | int N,K,Q,T; | ^ answer.code:31:11: note: ‘long long int T’ previously declared here 31 | int N,K,Q,T; | ^ answer.code:238:8: error: redefinition of ‘struct Segtree’ 238 | struct Segtree | ^~~~~~~ answer.code:32:8: note: previous definition of ‘struct Segtree’ 32 | struct Segtree | ^~~~~~~ answer.code:269:2: error: conflicting declaration ‘int st’ 269 | }st; | ^~ answer.code:63:2: note: previous declaration as ‘Segtree st’ 63 | }st; | ^~ answer.code:270:14: error: redefinition of ‘std::vector<long long int> g [2][1000005]’ 270 | vector <int> g[2][1000005],sel; | ^ answer.code:64:14: note: ‘std::vector<long long int> g [2][1000005]’ previously defined here 64 | vector <int> g[2][1000005],sel; | ^ answer.code:270:28: error: redefinition of ‘std::vector<long long int> sel’ 270 | vector <int> g[2][1000005],sel; | ^~~ answer.code:64:28: note: ‘std::vector<long long int> sel’ previously defined here 64 | vector <int> g[2][1000005],sel; | ^~~ answer.code:271:5: error: redefinition of ‘long long int rt [2]’ 271 | int rt[2]; | ^~ answer.code:65:5: note: ‘long long int rt [2]’ previously declared here 65 | int rt[2]; | ^~ answer.code:272:8: error: redefinition of ‘struct LCA’ 272 | struct LCA | ^~~ answer.code:66:8: note: previous definition of ‘struct LCA’ 66 | struct LCA | ^~~ answer.code:308:2: error: conflicting declaration ‘int Lca’ 308 | }Lca; | ^~~ answer.code:102:2: note: previous declaration as ‘LCA Lca’ 102 | }Lca; | ^~~ answer.code:310:5: error: redefinition of ‘long long int dfn [2][1000005]’ 310 | int dfn[2][1000005]; | ^~~ answer.code:104:5: note: ‘long long int dfn [2][1000005]’ previously declared here 104 | int dfn[2][1000005]; | ^~~ answer.code:311:5: error: redefinition of ‘long long int clk’ 311 | int clk,pos[1000005]; | ^~~ answer.code:105:5: note: ‘long long int clk’ previously declared here 105 | int clk,pos[1000005]; | ^~~ answer.code:311:9: error: redefinition of ‘long long int pos [1000005]’ 311 | int clk,pos[1000005]; | ^~~ answer.code:105:9: note: ‘long long int pos [1000005]’ previously declared here 105 | int clk,pos[1000005]; | ^~~ answer.code:312:6: error: redefinition of ‘bool cmp(long long int, long long int)’ 312 | bool cmp(int x,int y) | ^~~ answer.code:106:6: note: ‘bool cmp(long long int, long long int)’ previously defined here 106 | bool cmp(int x,int y) | ^~~ answer.code:316:6: error: redefinition of ‘void dfs(long long int, long long int, long long int)’ 316 | void dfs(int id,int u,int par) | ^~~ answer.code:110:6: note: ‘void dfs(long long int, long long int, long long int)’ previously defined here 110 | void dfs(int id,int u,int par) | ^~~ answer.code:326:5: error: redefinition of ‘long long int dep [1000005]’ 326 | int dep[1000005]; | ^~~ answer.code:120:5: note: ‘long long int dep [1000005]’ previously declared here 120 | int dep[1000005]; | ^~~ answer.code:327:15: error: redefinition of ‘std::vector<std::pair<long long int, long long int> > h [1000005]’ 327 | vector <pii > h[1000005]; | ^ answer.code:121:15: note: ‘std::vector<std::pair<long long int, long long int> > h [1000005]’ previously defined here 121 | vector <pii > h[100...