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
391
Problem ID:
391
Mark-Up
Hints
UVa Online Judge
Problem Statement
Single Output Problem
Solution
brianfry713
Most Popular Input
uDebug
Notes:
Since the sample input on UVa Online Judge is not copiable without losing its formatting, this has been uploaded on uDebug.
Select Input
(6)
Sign Up to Vote
User
Date
Votes
1
uDebug
03 May
2016 12:24:15
3
2
nasher
14 Aug
2016 20:39:05
3
3
UVa Online Judge
03 May
2016 12:24:15
2
4
nasher
14 Aug
2016 20:39:25
2
5
R19
27 Aug
2017 13:06:17
0
6
Zex
11 Dec
2021 11:31:59
0
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output