QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#109760#4996. Icy Itinerarylmq26052003RE 16ms52516kbC++173.1kb2023-05-30 15:58:582023-05-30 15:59:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 52516kb

input:

4 4
1 2
1 3
1 4
3 4

output:

1 3 2 4 

result:

ok qwq

Test #2:

score: 0
Accepted
time: 16ms
memory: 52388kb

input:

5 0

output:

1 2 3 4 5 

result:

ok qwq

Test #3:

score: 0
Accepted
time: 8ms
memory: 51632kb

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

result:

ok qwq

Test #4:

score: -100
Runtime Error

input:

2 1
1 2

output:


result: