Problem wabot
User limzuwan
Submission Time 2023-06-16 16:56:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp: In function ‘int main()’:
wabot.cpp:10:2: error: expected initializer before ‘int’
10 | int x;
| ^~~
wabot.cpp:13:10: error: ‘x’ was not declared in this scope
13 | cin >> x;
| ^
wabot.cpp:15:3: error: ‘A’ was not declared in this scope
15 | A[x - 1].push(y);
| ^
wabot.cpp:19:7: error: ‘A’ was not declared in this scope
19 | if (A[i].size() > 0) {
| ^
wabot.cpp:21:4: error: ‘x’ was not declared in this scope
21 | x = A[i].top();
| ^