Problem sumstack
User 7Janish7
Submission Time 2026-02-02 16:38:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumstack.cpp: In function ‘int main()’:
sumstack.cpp:17:10: error: ‘class std::vector<long long int>’ has no member named ‘push’
17 | a.push(x);
| ^~~~
sumstack.cpp:19:10: error: ‘class std::vector<long long int>’ has no member named ‘pop’
19 | a.pop();
| ^~~