Problem sumstack
User G92
Submission Time 2025-06-19 16:02:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumstack.cpp: In function ‘int main()’:
sumstack.cpp:24:13: error: cannot convert ‘std::deque<long long int>::empty’ from type ‘bool (std::deque<long long int>::)() const noexcept’ to type ‘bool’
24 | if(!psum.empty)
| ^~~~~
sumstack.cpp:24:13: error: in argument to unary !