alexjercan/bugnet huggingface dataset:
Problem p04048 test case
Input:
5 2

Expected output:
12
Problem p04049 test case
Input:
6 2
1 2
3 2
4 2
1 6
5 6

Expected output:
2
Problem p04050 test case
Input:
3 2
2 1

Expected output:
1 2
1
3
Problem p04051 test case
Input:
3
1 1
1 1
2 1

Expected output:
26
Problem p04052 test case
Input:
4 2
4 2 3 1

Expected output:
2
1
4
3