QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#516506#8215. Isomorphic DelightMaMengQiWA 6ms4976kbC++202.0kb2024-08-12 17:40:412024-08-12 17:40:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3692kb

input:

1

output:

YES
0

result:

ok Everything ok

Test #2:

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

input:

6

output:

YES
6
1 2
2 3
3 4
4 5
2 6
6 3

result:

ok Everything ok

Test #3:

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

input:

4

output:

NO

result:

ok Everything ok

Test #4:

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

input:

2

output:

NO

result:

ok Everything ok

Test #5:

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

input:

3

output:

NO

result:

ok Everything ok

Test #6:

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

input:

5

output:

NO

result:

ok Everything ok

Test #7:

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

input:

7

output:

YES
6
1 2
1 3
3 4
1 5
5 6
6 7

result:

ok Everything ok

Test #8:

score: 0
Accepted
time: 6ms
memory: 4880kb

input:

8

output:

YES
6
1 2
1 3
3 4
1 5
5 6
6 7

result:

ok Everything ok

Test #9:

score: 0
Accepted
time: 6ms
memory: 4940kb

input:

9

output:

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

result:

ok Everything ok

Test #10:

score: 0
Accepted
time: 6ms
memory: 4792kb

input:

10

output:

YES
8
1 2
1 3
3 4
4 5
1 6
6 7
7 8
8 9

result:

ok Everything ok

Test #11:

score: 0
Accepted
time: 6ms
memory: 4880kb

input:

11

output:

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

result:

ok Everything ok

Test #12:

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

input:

12

output:

YES
10
1 2
1 3
3 4
1 5
5 6
6 7
1 8
8 9
9 10
10 11

result:

ok Everything ok

Test #13:

score: 0
Accepted
time: 6ms
memory: 4924kb

input:

13

output:

YES
11
1 2
1 3
3 4
1 5
5 6
6 7
1 8
8 9
9 10
10 11
11 12

result:

ok Everything ok

Test #14:

score: 0
Accepted
time: 6ms
memory: 4976kb

input:

14

output:

YES
12
1 2
1 3
3 4
1 5
5 6
6 7
7 8
1 9
9 10
10 11
11 12
12 13

result:

ok Everything ok

Test #15:

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

input:

15

output:

YES
13
1 2
1 3
3 4
4 5
1 6
6 7
7 8
8 9
1 10
10 11
11 12
12 13
13 14

result:

ok Everything ok

Test #16:

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

input:

16

output:

YES
13
1 2
1 3
3 4
1 5
5 6
6 7
8 9
8 10
10 11
8 12
12 13
13 14
14 15

result:

ok Everything ok

Test #17:

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

input:

17

output:

YES
14
1 2
1 3
3 4
1 5
5 6
6 7
8 9
8 10
10 11
11 12
8 13
13 14
14 15
15 16

result:

ok Everything ok

Test #18:

score: 0
Accepted
time: 6ms
memory: 4844kb

input:

18

output:

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

result:

ok Everything ok

Test #19:

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

input:

19

output:

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

result:

ok Everything ok

Test #20:

score: -100
Wrong Answer
time: 6ms
memory: 4840kb

input:

598

output:

YES
551
1 2
1 3
3 4
1 5
5 6
6 7
8 9
8 10
10 11
8 12
12 13
13 14
14 15
16 17
16 18
18 19
19 20
16 21
21 22
22 23
23 24
25 26
25 27
27 28
25 29
29 30
30 31
31 32
32 33
34 35
35 36
34 37
37 38
38 39
34 40
40 41
41 42
42 43
44 45
44 46
46 47
44 48
48 49
49 50
44 51
51 52
52 53
53 54
55 56
55 57
57 58
58...

result:

wrong answer contestant's solution is worse (more edges) than jury's