QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#310243 | #5446. 琪露诺的符卡交换 | MaMengQi | Compile Error | / | / | C++20 | 3.0kb | 2024-01-21 09:38:57 | 2024-01-21 09:38:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:35:46: error: expected unqualified-id before ‘for’ 35 | std::stack<std::pair<int,int> >sta[204][204];for(int j=1;j<=n;++j)du[j][B[j][i]]--; | ^~~ answer.code:35:58: error: ‘j’ does not name a type 35 | std::stack<std::pair<int,int> >sta[204][204];for(int j=1;j<=n;++j)du[j][B[j][i]]--; | ^ answer.code:35:63: error: expected unqualified-id before ‘++’ token 35 | std::stack<std::pair<int,int> >sta[204][204];for(int j=1;j<=n;++j)du[j][B[j][i]]--; | ^~ answer.code: In function ‘bool bfs()’: answer.code:37:14: error: ‘que’ was not declared in this scope 37 | for(;que.size();)que.pop(); | ^~~ answer.code:38:30: error: ‘g’ was not declared in this scope 38 | for(int i=1;i<=T;++i)g[i]=h[i],dis[i]=0;;dis[S]=1;que.emplace(S); | ^ answer.code:38:35: error: ‘h’ was not declared in this scope 38 | for(int i=1;i<=T;++i)g[i]=h[i],dis[i]=0;;dis[S]=1;que.emplace(S); | ^ answer.code:38:40: error: ‘dis’ was not declared in this scope; did you mean ‘div’? 38 | for(int i=1;i<=T;++i)g[i]=h[i],dis[i]=0;;dis[S]=1;que.emplace(S); | ^~~ | div answer.code:38:50: error: ‘dis’ was not declared in this scope; did you mean ‘div’? 38 | for(int i=1;i<=T;++i)g[i]=h[i],dis[i]=0;;dis[S]=1;que.emplace(S); | ^~~ | div answer.code:38:59: error: ‘que’ was not declared in this scope 38 | for(int i=1;i<=T;++i)g[i]=h[i],dis[i]=0;;dis[S]=1;que.emplace(S); | ^~~ answer.code:41:27: error: ‘h’ was not declared in this scope 41 | for(int i=h[x];i;i=E[i].net)if(E[i].val&&!dis[E[i].to]){ | ^ answer.code:41:36: error: ‘E’ was not declared in this scope 41 | for(int i=h[x];i;i=E[i].net)if(E[i].val&&!dis[E[i].to]){ | ^ answer.code: In function ‘int dfs(int, int)’: answer.code:51:20: error: ‘g’ was not declared in this scope 51 | for(int &i=g[x];i;i=E[i].net)if(dis[E[i].to]==dis[x]+1&&E[i].val){ | ^ answer.code:51:29: error: ‘E’ was not declared in this scope 51 | for(int &i=g[x];i;i=E[i].net)if(dis[E[i].to]==dis[x]+1&&E[i].val){ | ^ answer.code:51:41: error: ‘dis’ was not declared in this scope; did you mean ‘div’? 51 | for(int &i=g[x];i;i=E[i].net)if(dis[E[i].to]==dis[x]+1&&E[i].val){ | ^~~ | div answer.code:53:20: error: ‘k’ was not declared in this scope 53 | if(k){ | ^ answer.code: In function ‘int main()’: answer.code:67:64: error: ‘cmp’ was not declared in this scope 67 | for(int i=1;i<=n;++i)std::sort(a[i]+1,a[i]+n+1,cmp); | ^~~ answer.code:69:46: error: ‘h’ was not declared in this scope 69 | for(int j=1;j<=T;++j)h[j]=0;;cnt=1; | ^ answer.code:69:54: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 69 | for(int j=1;j<=T;++j)h[j]=0;;cnt=1; | ^~~ | int answer.code:70:95: error: ‘add’ was not declared in this scope 70 | for(int j=1;j<=n;++j)for(int k=1;k<=n;++k)for(int t=1;t<=du[j][k];++t)add(j,k+n,1); | ^~~ answer.code:71:46: error: ‘add’ was not declared in this scope 71 | for(int j=1;j<=n;++j)add(S,j,1),add(j+n,T,1); | ^~~ answer.code:73:56: error: ‘h’ was not declared in this scope 73 | for(int j=1;j<=n;++j)for(int k=h[j];k;k=E[k].net)if(E[k^1].val)B[j][i]=E[k].to-n; | ^ answer.code:73:65: error: ‘E’ was not declared in this scope 73 | for(int j=1;j<=n;++j)for(int k=h[j];k;k=E[k].net)if(E[k^1].val)B[j][i]=E[k].to-n; | ^