QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#45308 | #4563. Radio Towers | GuanYunchang | Compile Error | / | / | C++17 | 3.8kb | 2022-08-22 16:14:14 | 2022-08-22 16:14:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void init(int, std::vector<int>)’: answer.code:35:26: error: ‘k’ was not declared in this scope 35 | UP(i, 1, k) if(a[i] > a[k]) good = false; | ^ answer.code:14:32: note: in definition of macro ‘UP’ 14 | #define UP(a,b,c) for(ll a=b;a<c;++a) | ^ answer.code:36:23: error: ‘k’ was not declared in this scope 36 | UU(i, k + 1, n) if(a[i] > a[k]) good = false; | ^ answer.code:15:28: note: in definition of macro ‘UU’ 15 | #define UU(a,b,c) for(ll a=b;a<=c;++a) | ^