QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#238070 | #7686. The Phantom Menace | ucup-team952# | Compile Error | / | / | C++17 | 2.3kb | 2023-11-04 15:42:15 | 2023-11-04 15:42:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:11:8: error: ‘M’ was not declared in this scope 11 | int in[M],out[M]; | ^ answer.code:11:15: error: ‘M’ was not declared in this scope 11 | int in[M],out[M]; | ^ answer.code:15:14: error: ‘M’ was not declared in this scope 15 | vector<PII>G[M]; | ^ answer.code: In function ‘void dfs(int)’: answer.code:23:11: error: ‘G’ was not declared in this scope 23 | while(G[u].size()){ | ^ answer.code: In function ‘void MAIN()’: answer.code:50:13: error: ‘G’ was not declared in this scope 50 | G[mp[l]].emplace_back(mq[r],i); | ^ answer.code:51:15: error: ‘in’ was not declared in this scope; did you mean ‘i’? 51 | ++in[mp[l]],++out[mq[r]]; | ^~ | i answer.code:51:27: error: ‘out’ was not declared in this scope 51 | ++in[mp[l]],++out[mq[r]]; | ^~~ answer.code:58:13: error: ‘G’ was not declared in this scope 58 | G[mq[l]].emplace_back(mp[r],i+n); | ^ answer.code:59:15: error: ‘in’ was not declared in this scope; did you mean ‘i’? 59 | ++in[mq[l]],++out[mp[r]]; | ^~ | i answer.code:59:27: error: ‘out’ was not declared in this scope 59 | ++in[mq[l]],++out[mp[r]]; | ^~~ answer.code:63:16: error: ‘in’ was not declared in this scope; did you mean ‘i’? 63 | if(in[i]!=out[i]){ | ^~ | i answer.code:63:23: error: ‘out’ was not declared in this scope 63 | if(in[i]!=out[i]){ | ^~~ answer.code:68:32: error: ‘in’ was not declared in this scope; did you mean ‘i’? 68 | for(int i=1;i<=cnt;++i)in[i]=out[i]=0,G[i].clear(); | ^~ | i answer.code:68:38: error: ‘out’ was not declared in this scope 68 | for(int i=1;i<=cnt;++i)in[i]=out[i]=0,G[i].clear(); | ^~~ answer.code:68:47: error: ‘G’ was not declared in this scope 68 | for(int i=1;i<=cnt;++i)in[i]=out[i]=0,G[i].clear(); | ^