QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#229235#6421. Degree of Spanning TreexwlWA 1ms5848kbC++201.1kb2023-10-28 15:31:172023-10-28 15:31:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5848kb

input:

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

output:

Yes
1 2
1 3
1 4
4 5
4 6
Yes
1 2
1 3

result:

wrong answer case 2, paticipant's deg[1] = 2 is too large