Skip to main content
Testing!
Menu
Problems
Contributors
API
API Documentation
API Tools
My Account
Profile
Sign In
Chat
Select a problem or
browse problems
All Judges
Toph
Dev Skill
CATS Online Judge
beecrowd
Facebook Hacker Cup
Light Online Judge
Google Code Jam
UVa Online Judge
ACM-ICPC Live Archive
540
Problem ID:
540
Team Queue
Hints
UVa Online Judge
Problem Statement
Single Output Problem
Solution
uDebug
Most Popular Input
Morass
Notes:
Even though this is not mentioned in the problem statement, it should not be possible to perform a DEQUEUE operation on an element before performing an ENQUEUE first. The judge's test case most likely does not contain a test case like this.
Select Input
(4)
Sign Up to Vote
User
Date
Votes
1
Morass
03 May
2016 10:58:30
16
2
brianfry713
03 May
2016 10:58:30
11
3
zero_1
16 Mar
2019 01:50:00
0
4
leandrovianna
23 Apr
2019 22:22:43
0
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output