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
119
Problem ID:
119
Greedy Gift Givers
Hints
UVa Online Judge
Problem Statement
Single Output Problem
Solution
uDebug
Most Popular Input
Morass
Notes:
Print a blank line between test cases - not after each test case. (So, there should not be a blank line printed after the last test case.) Printing a blank line after each test case will result in a verdict of wrong answer on UVa Online Judge.
Select Input
(4)
Sign Up to Vote
User
Date
Votes
1
Morass
03 May
2016 10:58:30
32
2
UVa Online Judge
03 May
2016 10:58:30
27
3
MsNahid
02 Nov
2016 20:06:12
14
4
debugster
17 Apr
2018 07:18:40
8
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output