QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#319869#8215. Isomorphic Delightucup-team1878#WA 291ms221056kbC++203.0kb2024-02-03 10:55:122024-02-03 10:55:13

详细

Test #1:

score: 100
Accepted
time: 270ms
memory: 218464kb

input:

1

output:

YES
0

result:

ok Everything ok

Test #2:

score: 0
Accepted
time: 262ms
memory: 219504kb

input:

6

output:

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

result:

ok Everything ok

Test #3:

score: 0
Accepted
time: 261ms
memory: 219664kb

input:

4

output:

NO

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 282ms
memory: 220088kb

input:

2

output:

NO

result:

ok Everything ok

Test #5:

score: 0
Accepted
time: 291ms
memory: 221056kb

input:

3

output:

NO

result:

ok Everything ok

Test #6:

score: 0
Accepted
time: 289ms
memory: 219192kb

input:

5

output:

NO

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 286ms
memory: 218136kb

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: 282ms
memory: 219932kb

input:

8

output:

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

result:

ok Everything ok

Test #9:

score: 0
Accepted
time: 276ms
memory: 220236kb

input:

9

output:

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

result:

ok Everything ok

Test #10:

score: 0
Accepted
time: 250ms
memory: 219652kb

input:

10

output:

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

result:

ok Everything ok

Test #11:

score: 0
Accepted
time: 254ms
memory: 219128kb

input:

11

output:

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

result:

ok Everything ok

Test #12:

score: 0
Accepted
time: 279ms
memory: 218176kb

input:

12

output:

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

result:

ok Everything ok

Test #13:

score: 0
Accepted
time: 283ms
memory: 218864kb

input:

13

output:

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

result:

ok Everything ok

Test #14:

score: 0
Accepted
time: 274ms
memory: 220192kb

input:

14

output:

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

result:

ok Everything ok

Test #15:

score: 0
Accepted
time: 275ms
memory: 219336kb

input:

15

output:

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

result:

ok Everything ok

Test #16:

score: 0
Accepted
time: 287ms
memory: 219828kb

input:

16

output:

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

result:

ok Everything ok

Test #17:

score: 0
Accepted
time: 272ms
memory: 218444kb

input:

17

output:

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

result:

ok Everything ok

Test #18:

score: 0
Accepted
time: 285ms
memory: 219500kb

input:

18

output:

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

result:

ok Everything ok

Test #19:

score: 0
Accepted
time: 259ms
memory: 219600kb

input:

19

output:

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

result:

ok Everything ok

Test #20:

score: 0
Accepted
time: 248ms
memory: 218952kb

input:

598

output:

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

result:

ok Everything ok

Test #21:

score: 0
Accepted
time: 271ms
memory: 218176kb

input:

245

output:

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

result:

ok Everything ok

Test #22:

score: 0
Accepted
time: 244ms
memory: 220448kb

input:

793

output:

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

result:

ok Everything ok

Test #23:

score: 0
Accepted
time: 290ms
memory: 218764kb

input:

133

output:

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

result:

ok Everything ok

Test #24:

score: 0
Accepted
time: 282ms
memory: 219260kb

input:

681

output:

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

result:

ok Everything ok

Test #25:

score: 0
Accepted
time: 266ms
memory: 220172kb

input:

922

output:

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

result:

ok Everything ok

Test #26:

score: 0
Accepted
time: 280ms
memory: 219880kb

input:

876

output:

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

result:

ok Everything ok

Test #27:

score: -100
Wrong Answer
time: 286ms
memory: 219656kb

input:

7740

output:

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

result:

wrong answer Not asymmetric