QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#516514#8215. Isomorphic DelightHuangHanShengWA 3ms4992kbC++202.0kb2024-08-12 17:50:132024-08-12 17:50:13

详细

Test #1:

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

input:

1

output:

YES
0

result:

ok Everything ok

Test #2:

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

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: 3500kb

input:

4

output:

NO

result:

ok Everything ok

Test #4:

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

input:

2

output:

NO

result:

ok Everything ok

Test #5:

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

input:

3

output:

NO

result:

ok Everything ok

Test #6:

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

input:

5

output:

NO

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 2ms
memory: 4928kb

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

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: 3ms
memory: 4912kb

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

input:

10

output:

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

result:

ok Everything ok

Test #11:

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

input:

11

output:

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

result:

ok Everything ok

Test #12:

score: 0
Accepted
time: 2ms
memory: 4928kb

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: 2ms
memory: 4960kb

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: 2ms
memory: 4808kb

input:

14

output:

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

result:

ok Everything ok

Test #15:

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

input:

15

output:

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

result:

ok Everything ok

Test #16:

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

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

input:

17

output:

YES
14
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
15 16

result:

ok Everything ok

Test #18:

score: 0
Accepted
time: 2ms
memory: 4868kb

input:

18

output:

YES
15
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
15 16
16 17

result:

ok Everything ok

Test #19:

score: 0
Accepted
time: 2ms
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: 0ms
memory: 4792kb

input:

598

output:

YES
550
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
16 20
20 21
21 22
22 23
23 24
25 26
25 27
27 28
28 29
25 30
30 31
31 32
32 33
34 35
34 36
36 37
34 38
38 39
39 40
40 41
41 42
42 43
44 45
44 46
46 47
47 48
44 49
49 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58...

result:

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