Problem conversations_easy
User Henries
Submission Time 2024-11-11 17:23:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conversations_easy.cpp: In function ‘int main()’:
conversations_easy.cpp:23:19: error: no ‘operator--(int)’ declared for postfix ‘--’ [-fpermissive]
23 | s.erase(s.end()--);
| ~~~~~~~^~
conversations_easy.cpp:27:22: error: no ‘operator--(int)’ declared for postfix ‘--’ [-fpermissive]
27 | cout << *(s.end()--) << '\n';
| ~~~~~~~^~