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
12157
Problem ID:
12157
Tariff Plan
Hints
UVa Online Judge
Problem Statement
Single Output Problem
Solution
uDebug
Most Popular Input
uDebug
Notes:
The number of test cases in the random input on uDebug is more than mentioned in the problem statement.
Select Input
(6)
Sign Up to Vote
User
Date
Votes
1
uDebug
03 May
2016 11:26:58
17
2
taher144
10 May
2016 21:02:34
8
3
Shah Shishir
08 Oct
2016 12:36:22
6
4
fockdislaif
02 Jan
2019 04:44:43
2
5
cosmicray001
17 Sep
2018 05:09:29
1
6
mhridoy
03 Mar
2019 11:46:15
1
Delete Input
Add Input
Input
Copy Input
Accepted Output
Copy Output
Your Output