QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#45758 | #4564. Digital Circuit | MaMengQi | Compile Error | / | / | C++17 | 267b | 2022-08-24 15:07:16 | 2022-08-24 15:07:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:4:31: error: expected ‘,’ or ‘...’ before ‘P’ 4 | void init(int N, int M, int[] P, int[] A){ | ^ answer.code: In function ‘int count_ways(int, int)’: answer.code:10:17: error: ‘A’ was not declared in this scope 10 | A[i-N] = A[i-N]^1; | ^ answer.code:10:21: error: ‘N’ was not declared in this scope 10 | A[i-N] = A[i-N]^1; | ^ answer.code:13:19: error: ‘N’ was not declared in this scope 13 | for(int i=N;i<N+M;i++){ | ^ answer.code:13:25: error: ‘M’ was not declared in this scope 13 | for(int i=N;i<N+M;i++){ | ^ answer.code:14:20: error: ‘A’ was not declared in this scope 14 | if(A[i]==1){ | ^