QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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){ | ^