5 6 1 2 3 4 5 Q 1 5 U 3 6 Q 3 4 Q 4 5 U 2 9 Q 1 5
5 6 5 9 HintHuge input,the C function scanf() will work better than cin
HintHuge input,the C function scanf() will work better than cin