Thank you too! It works fine now! c(^-^)c
On Friday, 17 April 2020 01:58:27 UTC+2, mattf...@gmail.com wrote:
>
> You are correct in sorting the dates, but you must print the assignments
> in the same order in which the dates were entered, not in the sorted order.
>
> Also, your english looks
Thank you! It works now c(^-^)c
On Friday, 17 April 2020 01:56:07 UTC+2, /dev/joe wrote:
>
> The input time ranges for case 3 were:
>
> 99 150
> 1 100
> 100 301
> 2 5
> 150 250
>
> JCCJC means to assign 1-100, 100-301, and 150-250 to C, but the last two
> of those overlap.
>
> While sorting the
You are correct in sorting the dates, but you must print the assignments in the
same order in which the dates were entered, not in the sorted order.
Also, your english looks good to me :)
> On Apr 16, 2020, at 6:40 PM, Tornax wrote:
>
>
> Hello, I'm trying to solve the 3. task of the
The input time ranges for case 3 were:
99 150
1 100
100 301
2 5
150 250
JCCJC means to assign 1-100, 100-301, and 150-250 to C, but the last two of
those overlap.
While sorting the tasks by starting time in order to determine who can
handle each one is a good strategy, you have to also retain
Hello, I'm trying to solve the 3. task of the qualification round 2020.
I'm using Python3 to solve this problem.
When I'm submiting my code it says "Sample Failed: WA".
This is my code:
number_of_cases = int(input())
for case_number in range(1, number_of_cases + 1):
appointments =