QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#430477 | #8650. Island Hopping | egypt_ioi2024_04# | Compile Error | / | / | C++20 | 2.0kb | 2024-06-03 20:54:39 | 2024-06-03 20:54:42 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int32_t main()’: answer.code:6:17: error: expected primary-expression before ‘for’ 6 | #define LOOP(n) for(int rp=0;rp<(n);rp++) | ^~~ answer.code:66:22: note: in expansion of macro ‘LOOP’ 66 | if(m)m--,LOOP(j)E(i,rp); | ^~~~ answer.code:66:27: error: ‘j’ was not declared in this scope 66 | if(m)m--,LOOP(j)E(i,rp); | ^ answer.code:6:34: note: in definition of macro ‘LOOP’ 6 | #define LOOP(n) for(int rp=0;rp<(n);rp++) | ^ answer.code:6:41: error: expected ‘;’ before ‘)’ token 6 | #define LOOP(n) for(int rp=0;rp<(n);rp++) | ^ answer.code:66:22: note: in expansion of macro ‘LOOP’ 66 | if(m)m--,LOOP(j)E(i,rp); | ^~~~