Problem Description
Loading...
Problem Analysis
Supposedly a problem from the 3rd Henan Provincial Programming Contest
Last winter break I tried a sorting approach and got WA
This time I solved it
【HDU】[4883]TIANKENG’s restaurant
Felt this problem could be done with the same idea
Gave it a try
Just use an array to record the number of rooms needed at the same time
Then when outputting, just find the maximum count needed in each time period
cpp
| |
PS: Kept getting WA on ZZULI’s judge
But the standard solution provided by NYOJ got WA too
So it should be a problem with ZZULI’s judge data
Problem link:【NYOJ】[acm-178]Room Arrangement)