QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#438583 | #7281. How to Avoid Disqualification in 75 Easy Steps | egypt_ioi2024_11# | Compile Error | / | / | C++23 | 2.3kb | 2024-06-10 19:52:12 | 2024-06-10 19:52:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int visit(int)’: answer.code:7:9: error: ‘QMAX’ was not declared in this scope 7 | QMAX++; | ^~~~ answer.code:8:9: error: ‘LAST_NODE’ was not declared in this scope 8 | LAST_NODE = v; | ^~~~~~~~~ answer.code:9:16: error: ‘ties’ was not declared in this scope; did you mean ‘utimes’? 9 | return ties[v-1]; | ^~~~ | utimes answer.code: At global scope: answer.code:12:8: error: ‘SZ’ was not declared in this scope 12 | int sz[SZ], deg[SZ], n, ex[SZ], vis[SZ]; | ^~ answer.code:12:17: error: ‘SZ’ was not declared in this scope 12 | int sz[SZ], deg[SZ], n, ex[SZ], vis[SZ]; | ^~ answer.code:12:28: error: ‘SZ’ was not declared in this scope 12 | int sz[SZ], deg[SZ], n, ex[SZ], vis[SZ]; | ^~ answer.code:12:37: error: ‘SZ’ was not declared in this scope 12 | int sz[SZ], deg[SZ], n, ex[SZ], vis[SZ]; | ^~ answer.code:13:17: error: ‘SZ’ was not declared in this scope 13 | vector<int> adj[SZ]; | ^~ answer.code: In function ‘void dfs(int, int)’: answer.code:17:9: error: ‘sz’ was not declared in this scope 17 | sz[src] = 1; | ^~ answer.code:18:23: error: ‘adj’ was not declared in this scope 18 | for(auto it : adj[src]) | ^~~ answer.code:23:17: error: ‘ex’ was not declared in this scope; did you mean ‘exp’? 23 | ex[src] |= ex[it]; | ^~ | exp answer.code: In function ‘std::vector<int> mark(std::vector<std::pair<int, int> >, int)’: answer.code:32:17: error: ‘sz’ was not declared in this scope 32 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~ answer.code:32:25: error: ‘deg’ was not declared in this scope 32 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~~ answer.code:32:34: error: ‘ex’ was not declared in this scope; did you mean ‘e’? 32 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~ | e answer.code:32:42: error: ‘vis’ was not declared in this scope 32 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~~ answer.code:33:17: error: ‘adj’ was not declared in this scope 33 | adj[i].clear(); | ^~~ answer.code:39:17: error: ‘adj’ was not declared in this scope 39 | adj[u].push_back(v); | ^~~ answer.code:41:17: error: ‘deg’ was not declared in this scope 41 | deg[u]++; | ^~~ answer.code:47:20: error: ‘deg’ was not declared in this scope 47 | if(deg[i] == 1) | ^~~ answer.code:54:9: error: ‘ex’ was not declared in this scope; did you mean ‘e’? 54 | ex[safe] = 1; | ^~ | e answer.code:64:27: error: ‘sz’ was not declared in this scope 64 | ts[i] = ((sz[i]-1 <= n-sz[i])^ex[i]); | ^~ answer.code: In function ‘void locate(std::vector<std::pair<int, int> >, int, int)’: answer.code:73:17: error: ‘sz’ was not declared in this scope 73 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~ answer.code:73:25: error: ‘deg’ was not declared in this scope 73 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~~ answer.code:73:34: error: ‘ex’ was not declared in this scope; did you mean ‘e’? 73 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~ | e answer.code:73:42: error: ‘vis’ was not declared in this scope 73 | sz[i] = deg[i] = ex[i] = vis[i] = 0; | ^~~ answer.code:74:17: error: ‘adj’ was not declared in this scope 74 | adj[i].clear(); | ^~~ answer.code:80:17: error: ‘adj’ was not declared in this scope 80 | adj[u].push_back(v); | ^~~ answer.code:86:20: error: ‘deg’ was not declared in this scope 86 | if(deg[i] == 1) | ^~~ answer.code:97:17: error: ‘vis’ was not declared in this scope 97 | vis[cur] = true; | ^~~ answer.code:98:20: error: ‘sz’ was not declared in this scope 98 | if(sz[cur]-1 == n-sz[cur]) | ^~ answer.code:100:39: error: ‘adj’ was not declared in this scope 100 | int x = visit(adj[cur][0]+1); | ^~~ answer.code:122:38: error: ‘adj’ was not declared in this s...