| Movie | 1 | 2 | 3 | | :-: | :-: | :-: | :-: | :-: | :-: | | | 0 | - | - | | | 0 | 0 | - | | | 0 | 1 | - | | | 0 | 1 | 1 | | Q 1 => 2 | //Movie 2 wa|s released be|fore Movie 3 | | | 0 | 1 | 1.5 | | | 2.5 | 1 | 1.5 | | Q 1 => 1 | | Q 2 => 3 | | Q 3 => 2 |
对于 30% 的数据,n ≤ 100
对于 100% 的数据,n ≤ 10000
10
R 1 1 1
R 2 2 1 2
C 2 2
R 3 1 2
Q 1
C 3 2
C 1 5
Q 1
Q 2
Q 3
2
1
3
2