Problem tickethandling
User cobnet
Submission Time 2025-03-19 18:52:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tickethandling.cpp: In function ‘int main()’:
tickethandling.cpp:22:4: error: ‘else’ without a previous ‘if’
22 | else if(!typeonediabetes.empty())cout<<typeonediabetes.front()<<"\n";typeonediabetes.pop();
| ^~~~
tickethandling.cpp:23:4: error: ‘else’ without a previous ‘if’
23 | else cout<<"-1\n";
| ^~~~