# TopCoder

$\huge 南ことり$
$ε=ε=ε=(~￣▽￣)~烙跑囉$

100.0% (8/8)

43.5% (10/23)

3
3 9
3 2 3
2 1 2
3 2 3
4 3
5 3 2 3
4 2 1 2
5 3 2 3
4 2 3 2
3 1
1 2 3
2 1 2
3 2 3

2
3
Impossible