QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#58362#3846. Link-Cut TreeHuangHanShengWA 1ms2316kbC++111.5kb2022-10-26 01:53:042022-10-26 01:53:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
6 8
1 2
2 3
5 6
3 4
2 5
5 4
5 1
4 2
4 2
1 2
4 3

output:

n=6,m=8
2 4 5 6 
n=4,m=2
-1

result:

wrong answer 1st lines differ - expected: '2 4 5 6', found: 'n=6,m=8'