Skip to main content
Menu
Problems
Contributors
API
API Documentation
API Tools
My Account
Profile
Sign In
Select a problem or
browse problems
All Judges
Sphere Online Judge
Toph
Dev Skill
CATS Online Judge
URI Online Judge
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
23
2
brianfry713
03 May
2016 10:58:30
16
3
zero_1
16 Mar
2019 01:50:00
3
4
leandrovianna
23 Apr
2019 22:22:43
2
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output