QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#58362#3846. Link-Cut TreeHuangHanShengWA 1ms2316kbC++111.5kb2022-10-26 01:53:042022-10-26 01:53:06

詳細信息

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'