• + 0 comments

    A small test case to clarify certain misconception:

    input:

    2
    3 2
    2 4 5 6 7 8
    3 2
    2 4 6 8 10 14
    

    output:

    1 3 4
    1 3 7