Skip to main content
Check out the new chat at udebug.com/chat!
Menu
Problems
Contributors
API
API Documentation
API Tools
My Account
Profile
Sign In
Chat
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
Prime Cuts
Problem Number:
5 490
Type of Problem:
Single Output Problem
Problem Category:
Volume 54 (5,400-5,499)
Input:
Critical Input
0
0
Critical Input:
1 1 1 3 1 2 24 4 562 3 562 4 926 999 134 88 133 88 134 87 1000 1000 1000 2000 1000 1
Random Input:
Problem Id:
5490