Problem | smurf |
---|---|
User | Keevan19 |
Submission Time | 2023-01-08 16:53:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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());
| ^~~