Problem sumstack
User hitarthdangra
Submission Time 2025-06-19 22:18:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumstack.cpp: In function ‘int main()’:
sumstack.cpp:29:29: error: expected ‘)’ before ‘{’ token
29 | if (X > A.size() {
| ~ ^~
| )
sumstack.cpp:32:29: error: ‘j’ was not declared in this scope
32 | for (int j = 0; j < X; j++) {
| ^