QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#471776 | #905. 三元环枚举 | CristianoRonaldo# | Compile Error | / | / | C++14 | 1.2kb | 2024-07-11 08:26:08 | 2024-07-11 08:26:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
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:19:1: error: ‘a’ was not declared in this scope 19 | a[i]=read(); | ^ answer.code:32:29: error: ‘vis’ was not declared in this scope 32 | for (auto v : e[u]) vis[v] = u; | ^~~ answer.code:34:17: error: ‘vis’ was not declared in this scope 34 | if (vis[w] == u) (ans+=a[w]*a[u]%mod*a[v])%=mod; | ^~~ answer.code:34:36: error: ‘a’ was not declared in this scope 34 | if (vis[w] == u) (ans+=a[w]*a[u]%mod*a[v])%=mod; | ^