QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#75338#4996. Icy ItineraryZhaoZiLongTL 5ms12812kbC++14917b2023-02-04 21:13:292023-02-04 21:13:30

详细

Test #1:

score: 100
Accepted
time: 5ms
memory: 12812kb

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: 5ms
memory: 12384kb

input:

5 0

output:

1 5 4 3 2 

result:

ok qwq

Test #3:

score: -100
Time Limit Exceeded

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 10 9 8 7 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6 5 4 3 6...

result: