Problem rmaxq
User louisleehi
Submission Time 2023-02-03 22:03:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rmaxq.cpp:7:7: error: ‘MAXN’ was not declared in this scope
7 | int A[MAXN];
| ^~~~
rmaxq.cpp: In constructor ‘node::node(int, int)’:
rmaxq.cpp:15:6: error: ‘A’ was not declared in this scope
15 | v=A[s];
| ^
rmaxq.cpp: In function ‘int main()’:
rmaxq.cpp:67:6: error: ‘i’ was not declared in this scope
67 | FOR(i,0,N-1)cin>>A[i];
| ^
rmaxq.cpp:67:2: error: ‘FOR’ was not declared in this scope
67 | FOR(i,0,N-1)cin>>A[i];
| ^~~