QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#233249#4996. Icy ItineraryHuangHanShengWA 4ms20052kbC++20741b2023-10-31 15:41:012023-10-31 15:41:01

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 20052kb

input:

4 4
1 2
1 3
1 4
3 4

output:

1 3 4 2 

result:

ok qwq

Test #2:

score: 0
Accepted
time: 4ms
memory: 19644kb

input:

5 0

output:

1 2 3 4 5 

result:

ok qwq

Test #3:

score: 0
Accepted
time: 0ms
memory: 18492kb

input:

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

output:

1 3 8 2 4 5 6 7 9 10 

result:

ok qwq

Test #4:

score: 0
Accepted
time: 4ms
memory: 19120kb

input:

2 1
1 2

output:

1 2 

result:

ok qwq

Test #5:

score: 0
Accepted
time: 3ms
memory: 18576kb

input:

2 0

output:

1 2 

result:

ok qwq

Test #6:

score: 0
Accepted
time: 3ms
memory: 20040kb

input:

3 1
1 3

output:

1 2 3 

result:

ok qwq

Test #7:

score: -100
Wrong Answer
time: 3ms
memory: 19980kb

input:

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

output:

1 2 3 4 6 5 7 8 9 10 

result:

wrong answer Changed color too many times (2)