Sep 7, 2023
Hints 2
A: Movie Collection
B: Worst Weather Ever
One extra sample to play with:
Input:
2
2001 10
2002 20
1
2001 2003
3
2001 20
2002 20
2003 30
1
2001 2003
0
0
Output:
false
false
C: Surveillance
One extra sample to play with:
Input:
12 4
11 5
4 8
7 9
10 2
Output:
4