QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#45766 | #4564. Digital Circuit | MaMengQi | Compile Error | / | / | C++17 | 308b | 2022-08-24 15:09:47 | 2022-08-24 15:09:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:4:1: error: ‘vector’ does not name a type 4 | vector<int> A; | ^~~~~~ answer.code: In function ‘int count_ways(int, int)’: answer.code:11:17: error: ‘A’ was not declared in this scope 11 | A[i-N] = A[i-N]^1; | ^ answer.code:11:21: error: ‘N’ was not declared in this scope 11 | A[i-N] = A[i-N]^1; | ^ answer.code:14:19: error: ‘N’ was not declared in this scope 14 | for(int i=N;i<N+M;i++){ | ^ answer.code:14:25: error: ‘M’ was not declared in this scope 14 | for(int i=N;i<N+M;i++){ | ^ answer.code:15:20: error: ‘A’ was not declared in this scope 15 | if(A[i]==1){ | ^