QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#296311#2287. Hamiltooonian Hikeucup-team1005#WA 2ms9024kbC++201020b2024-01-02 18:37:242024-01-02 18:37:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 9024kb

input:

20 19
4 2
12 15
18 3
11 8
16 15
13 19
7 11
6 3
8 15
1 13
5 11
10 6
6 14
1 3
13 2
9 2
8 1
17 19
19 20

output:

13 17 20 19 4 9 2 18 10 14 6 3 7 5 11 12 16 15 8 1 

result:

wrong answer vertices 2 and 18 are too far apart