| Problem | sumstack |
|---|---|
| User | 7Janish7 |
| Submission Time | 2026-02-02 16:29:32 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumstack.cpp: In function ‘int main()’:
sumstack.cpp:23:13: error: ‘j’ was not declared in this scope
23 | for (j = 0, j < x; j++){
| ^
sumstack.cpp:23:30: error: expected ‘;’ before ‘)’ token
23 | for (j = 0, j < x; j++){
| ^
| ;
sumstack.cpp:24:16: error: expected initializer before ‘+=’ token
24 | int o += a[j];
| ^~