| Problem | sumstack |
|---|---|
| User | 7Janish7 |
| Submission Time | 2026-02-02 16:30:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumstack.cpp: In function ‘int main()’:
sumstack.cpp:23:25: error: expected ‘;’ before ‘<’ token
23 | for (int j = 0, j < x; j++){
| ^~
| ;
sumstack.cpp:23:26: error: expected primary-expression before ‘<’ token
23 | for (int j = 0, j < x; j++){
| ^
sumstack.cpp:24:16: error: no match for ‘operator[]’ (operand types are ‘std::stack<long long int>’ and ‘long long int’)
24 | o += a[j];
| ^