Problem lunchbox
User ethantanaki
Submission Time 2026-03-07 10:52:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:18:9: error: cannot convert ‘std::stack<int>::empty’ from type ‘bool (std::stack<int>::)() const’ to type ‘bool’
18 | if(!s.empty) {
| ^~~~~
lunchbox.cpp:18:9: error: in argument to unary !