Problem catlunch
User dev1634
Submission Time 2023-03-08 17:13:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:16:13: error: ‘class std::stack<int>’ has no member named ‘begin’
16 | reverse(stk.begin() , stk.end());
| ^~~~~
catlunch.cpp:16:27: error: ‘class std::stack<int>’ has no member named ‘end’
16 | reverse(stk.begin() , stk.end());
| ^~~