QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#471780 | #905. 三元环枚举 | CristianoRonaldo# | Compile Error | / | / | C++14 | 1.2kb | 2024-07-11 08:27:51 | 2024-07-11 08:27:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:14:23: error: expected initializer before ‘,a’ 14 | int n, m, d[N], vis[N],a[N]; array<int, 2> E[N]; vector<int> e[N]; | ^~~ answer.code: In function ‘int main()’: answer.code:18:11: error: ‘a’ was not declared in this scope 18 | rep(i,1,n)a[i]=read(); | ^ answer.code:33:29: error: ‘vis’ was not declared in this scope 33 | for (auto v : e[u]) vis[v] = u; | ^~~ answer.code:35:17: error: ‘vis’ was not declared in this scope 35 | if (vis[w] == u) (ans+=a[w]*a[u]%mod*a[v])%=mod; | ^~~ answer.code:35:36: error: ‘a’ was not declared in this scope 35 | if (vis[w] == u) (ans+=a[w]*a[u]%mod*a[v])%=mod; | ^