QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#75341#4996. Icy ItineraryZhangYiDeTL 4ms13876kbC++14932b2023-02-04 21:20:582023-02-04 21:21:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 12984kb

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: 0ms
memory: 13876kb

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: