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
512
Problem ID:
512
Spreadsheet Tracking
Hints
UVa Online Judge
Problem Statement
Single Output Problem
Solution
UVa Online Judge
Most Popular Input
Anjupiter
Notes:
On some of the test input on uDebug blank lines have been included between data sets to improve readability.
Select Input
(2)
Sign Up to Vote
User
Date
Votes
1
Anjupiter
03 May
2016 11:33:53
5
2
Lyrically
23 Mar
2022 09:49:57
0
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output