Online Judge
Online Exercise
Online Teaching
Online Contests
Exercise Author
F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
C/C++/Java Exams
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder
beta
VIP
|
STD Contests
DIY |
Web-DIY
beta
Author ID
Password
Register new ID
Problem M. Number houses
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 0 Accepted Submission(s): 0
Sample Input
2 3 1 3 2
Sample Output
Case #1: 6 Case #2: 11
Source
The ACMer Reunion 2050 Amusement Competition
Statistic
|
Submit
|
Discuss
|
Note
Home
|
Top
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025
HDU ACM Team
. All Rights Reserved.
Designer & Developer
:
Wang Rongtao
LinLe
GaoJie
GanLu
Total 0.000000(s) query 1, Server time : 2025-03-29 18:15:48, Gzip enabled
Administration