QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110853#6526. CanvasGuanYunchangWA 6ms38860kbC++203.5kb2023-06-04 10:40:142023-06-04 10:40:15

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 38852kb

input:

2
4 4
1 1 2 2
3 2 4 1
1 2 3 2
2 1 4 1
4 2
3 2 4 1
1 2 3 1

output:

7
4 2 1 3 5
2 1 

result:

ok Correct. (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 38860kb

input:

1
10 13
1 1 2 2
2 1 3 2
1 2 3 1
3 1 4 2
4 1 5 2
5 1 6 2
4 2 6 1
7 1 8 2
8 1 9 2
7 2 9 1
5 2 9 1
8 2 10 2
1 1 10 1

output:

18
13 6 5 7 11 8 10 9 4 2 1 3 12 

result:

wrong answer Jury has better answer. Participant 18, jury 19 (test case 1)