QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#661979#7749. A Simple MST Problemucup-team3232WA 394ms106384kbC++172.3kb2024-10-20 19:39:372024-10-20 19:39:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 394ms
memory: 106384kb

input:

5
1 1
4 5
1 4
1 9
19 810

output:

i=2 repre=0
i=3 repre=0
i=4 repre=2
i=5 repre=0
i=6 repre=4
i=7 repre=0
i=8 repre=4
i=9 repre=3
i=10 repre=8
i=11 repre=0
i=12 repre=9
i=13 repre=0
i=14 repre=8
i=15 repre=9
i=16 repre=8
i=17 repre=0
i=18 repre=16
i=19 repre=0
i=20 repre=16
i=21 repre=9
i=22 repre=16
i=23 repre=0
i=24 repre=18
i=25 ...

result:

wrong answer 1st lines differ - expected: '0', found: 'i=2 repre=0'