Problem smurf
User Keevan19
Submission Time 2023-01-08 16:53:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp: In function ‘int main()’:
smurf.cpp:17:20: error: ‘class std::stack<int>’ has no member named ‘begin’
17 | reverse(smurfs.begin(), smurfs.end());
| ^~~~~
smurf.cpp:17:36: error: ‘class std::stack<int>’ has no member named ‘end’
17 | reverse(smurfs.begin(), smurfs.end());
| ^~~