SORRY, because of the bug of Judge Core. The code "remove" will be judged as "DANGEROUS_CODE". We will fix it next time.
- Top x : Make the element x to the top of the Queue.
- Next: Output the top element and pop it and then push it to the back of the Queue.
2 10 5 Top 4 Next Top 5 Next Next 8 6 Next Next Top 7 Next Top 4 Next
4 5 1 1 2 7 4
无
Original: ZJUT Revise: XadillaX