[UVA] 10170 - The Hotel with Infinite Rooms
Problem C
The Hotel with Infinite Rooms
Input: standard input
Output: standard output
Time Limit: 2 seconds
The city of HaluaRuti has a
strange hotel with infinite rooms. The groups that come to this hotel follow
the following rules:
a...