QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#856432 | #9735. Japanese Bands | minstdfx# | Compile Error | / | / | C++20 | 3.1kb | 2025-01-13 23:52:40 | 2025-01-13 23:52:41 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:89:9: error: expected primary-expression before ‘for’ 89 | for(int i=0;i<m;++i) | ^~~ answer.code:89:21: error: ‘i’ was not declared in this scope 89 | for(int i=0;i<m;++i) | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:36: error: the value of ‘m’ is not usable in a constant expression 90 | for(int j=0;j<(1<<m);++j) | ^ answer.code:61:11: note: ‘int m’ is not const 61 | int n1,n2,m,k; | ^ answer.code:90:29: error: ‘j’ was not declared in this scope 90 | for(int j=0;j<(1<<m);++j) | ^