QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#331087#8215. Isomorphic Delightucup-team456#WA 88ms103212kbC++232.9kb2024-02-17 23:36:002024-02-17 23:36:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 75ms
memory: 101436kb

input:

1

output:

YES
0

result:

ok Everything ok

Test #2:

score: 0
Accepted
time: 71ms
memory: 101264kb

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: 71ms
memory: 101432kb

input:

4

output:

NO

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 71ms
memory: 101564kb

input:

2

output:

NO

result:

ok Everything ok

Test #5:

score: 0
Accepted
time: 71ms
memory: 101584kb

input:

3

output:

NO

result:

ok Everything ok

Test #6:

score: 0
Accepted
time: 51ms
memory: 101516kb

input:

5

output:

NO

result:

ok Everything ok

Test #7:

score: 0
Accepted
time: 74ms
memory: 101412kb

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: 71ms
memory: 101516kb

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: 79ms
memory: 101440kb

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: 59ms
memory: 101564kb

input:

10

output:

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

result:

ok Everything ok

Test #11:

score: 0
Accepted
time: 63ms
memory: 101448kb

input:

11

output:

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

result:

ok Everything ok

Test #12:

score: 0
Accepted
time: 76ms
memory: 101436kb

input:

12

output:

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

result:

ok Everything ok

Test #13:

score: 0
Accepted
time: 77ms
memory: 101312kb

input:

13

output:

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

result:

ok Everything ok

Test #14:

score: 0
Accepted
time: 66ms
memory: 101320kb

input:

14

output:

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

result:

ok Everything ok

Test #15:

score: 0
Accepted
time: 88ms
memory: 101560kb

input:

15

output:

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

result:

ok Everything ok

Test #16:

score: 0
Accepted
time: 56ms
memory: 101560kb

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: 82ms
memory: 101312kb

input:

17

output:

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

result:

ok Everything ok

Test #18:

score: 0
Accepted
time: 73ms
memory: 101400kb

input:

18

output:

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

result:

ok Everything ok

Test #19:

score: 0
Accepted
time: 69ms
memory: 101452kb

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
9 16
16 17
16 18
18 19

result:

ok Everything ok

Test #20:

score: 0
Accepted
time: 68ms
memory: 101436kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #21:

score: 0
Accepted
time: 69ms
memory: 101304kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #22:

score: 0
Accepted
time: 66ms
memory: 101304kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #23:

score: 0
Accepted
time: 58ms
memory: 101376kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #24:

score: 0
Accepted
time: 67ms
memory: 101436kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #25:

score: 0
Accepted
time: 67ms
memory: 101396kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #26:

score: 0
Accepted
time: 82ms
memory: 101516kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
5...

result:

ok Everything ok

Test #27:

score: 0
Accepted
time: 77ms
memory: 101300kb

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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
...

result:

ok Everything ok

Test #28:

score: 0
Accepted
time: 88ms
memory: 101324kb

input:

2460

output:

YES
2268
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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
...

result:

ok Everything ok

Test #29:

score: 0
Accepted
time: 70ms
memory: 101508kb

input:

7533

output:

YES
6998
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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
...

result:

ok Everything ok

Test #30:

score: 0
Accepted
time: 64ms
memory: 101516kb

input:

5957

output:

YES
5527
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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59
...

result:

ok Everything ok

Test #31:

score: -100
Wrong Answer
time: 67ms
memory: 103212kb

input:

92651

output:

YES
87198
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
46 48
48 49
44 50
50 51
51 52
52 53
54 55
55 56
54 57
57 58
58 59...

result:

wrong answer Not asymmetric