QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#140180#5413. 同构判定鸡flower#41.293185 3941ms4212kbC++202.7kb2023-08-15 11:18:112024-07-04 01:43:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 1ms
memory: 3552kb

input:

10 1
3 3
1 2
1 3
2 3
33 272
3 3
1 2
1 3
2 3
28 196
3 3
1 2
1 3
2 3
92 2116
3 3
1 2
1 3
2 3
29 210
3 3
1 2
1 3
2 3
62 961
3 3
1 2
1 3
2 3
97 2352
3 3
1 2
1 3
2 3
60 900
3 3
1 2
1 3
2 3
70 1225
3 3
1 2
1 3
2 3
67 1122
3 3
1 2
1 3
2 3
67 1122

output:

33 272
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
2 17
2 18
2 19
2 20
2 21
2 22
2 23
2 24
2 25
2 26
2 27
2 28
2 29
2 30
2 31
2 32
2 33
3 17
3 18
3 19
3 20
3 21
3 22
3 23
3 24
3 25
3 26
3 27
3 28
3 29
3 30
3 31
3 32
3 33
4 17
4 18
4 19
4 20
4 21
4 22
4 23
4 2...

result:

ok correct! (10 test cases)

Test #2:

score: 10
Accepted
time: 1ms
memory: 3828kb

input:

10 2
5 10
1 2
1 3
1 4
1 5
2 3
2 4
2 5
3 4
3 5
4 5
28 293
8 28
1 2
1 3
1 4
1 5
1 6
1 7
1 8
2 3
2 4
2 5
2 6
2 7
2 8
3 4
3 5
3 6
3 7
3 8
4 5
4 6
4 7
4 8
5 6
5 7
5 8
6 7
6 8
7 8
8 26
4 6
1 2
1 3
1 4
2 3
2 4
3 4
82 2240
3 3
1 2
1 3
2 3
46 528
4 6
1 2
1 3
1 4
2 3
2 4
3 4
42 587
9 36
1 2
1 3
1 4
1 5
1 6
1 ...

output:

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

result:

ok correct! (10 test cases)

Test #3:

score: 10
Accepted
time: 3500ms
memory: 4052kb

input:

10 3
4 4
1 2
2 3
3 4
4 1
387 774
4 4
1 2
2 3
3 4
4 1
668 1336
4 4
1 2
2 3
3 4
4 1
1403 2806
4 4
1 2
2 3
3 4
4 1
1516 3032
4 4
1 2
2 3
3 4
4 1
1601 3202
4 4
1 2
2 3
3 4
4 1
1649 3298
4 4
1 2
2 3
3 4
4 1
1722 3444
4 4
1 2
2 3
3 4
4 1
1854 3708
4 4
1 2
2 3
3 4
4 1
1926 3852
4 4
1 2
2 3
3 4
4 1
1989 3978

output:

387 856
1 298
1 279
1 64
1 181
1 301
2 334
2 380
2 6
2 261
3 230
3 231
3 35
3 54
3 74
4 240
4 272
4 135
4 211
5 96
5 198
5 51
6 42
6 16
6 303
7 117
7 83
7 195
7 386
7 146
7 27
8 36
8 205
8 154
8 161
8 30
8 328
8 337
9 61
9 349
10 122
10 138
10 62
10 60
11 310
11 79
12 386
12 298
12 282
13 285
13 136...

result:

ok correct! (10 test cases)

Test #4:

score: 0
Wrong Answer
time: 3496ms
memory: 4212kb

input:

10 4
4 4
1 2
2 3
3 4
4 1
169 1014
4 4
1 2
2 3
3 4
4 1
529 5819
4 4
1 2
2 3
3 4
4 1
841 11774
4 4
1 2
2 3
3 4
4 1
961 14415
4 4
1 2
2 3
3 4
4 1
1369 24642
4 4
1 2
2 3
3 4
4 1
1681 33620
4 4
1 2
2 3
3 4
4 1
1849 38829
4 4
1 2
2 3
3 4
4 1
361 3249
4 4
1 2
2 3
3 4
4 1
289 2312
4 4
1 2
2 3
3 4
4 1
9 9

output:

169 171
1 64
2 6
3 35
3 54
3 74
4 135
5 96
5 51
6 42
6 16
7 117
7 83
7 146
7 27
8 36
8 154
8 161
8 30
9 61
10 122
10 138
10 62
10 60
11 79
13 136
14 74
14 154
14 71
15 154
16 67
17 19
18 126
19 35
19 113
19 140
20 144
21 75
21 128
21 99
21 70
22 64
22 27
23 42
23 71
23 101
23 85
23 143
24 66
25 106
...

result:

wrong answer Integer parameter [name=m] equals to 171, violates the range [1014, 14196] (test case 1)

Test #5:

score: 16.2932
Acceptable Answer
time: 3941ms
memory: 4048kb

input:

1 5
4 4
1 2
2 3
3 4
4 1
2850 24300

output:

2850 38092
1 421
1 461
1 127
1 2131
1 2032
1 293
1 1214
1 1099
1 1669
1 1907
1 1646
1 773
1 1558
1 2574
1 2087
1 2337
1 2341
1 428
1 1520
1 908
1 2334
1 345
1 1125
1 2157
1 2350
1 2401
2 2431
2 442
2 1365
2 2133
2 2486
2 1320
2 875
2 1625
2 239
2 19
2 1525
2 45
2 411
2 1033
2 1148
2 1962
2 2236
2 74...

result:

points 0.5431061640 m' = 38092, 3M = 72900, points = 16.293185

Test #6:

score: 0
Wrong Answer
time: 2142ms
memory: 3692kb

input:

1 6
6 9
1 4
1 5
1 6
2 4
2 5
2 6
3 4
3 5
3 6
343 2350

output:

343 2067
1 101
1 62
1 97
1 291
1 201
1 100
1 254
1 137
1 239
1 334
1 71
1 204
2 289
2 104
2 89
2 215
2 270
2 3
2 28
2 210
2 85
2 259
2 37
3 137
3 4
3 148
3 329
3 96
3 283
3 87
3 157
3 228
3 325
3 264
3 17
4 136
4 158
4 116
4 58
4 276
4 322
4 154
4 169
4 245
4 90
4 339
4 92
5 31
5 242
5 60
5 296
5 33...

result:

wrong answer Integer parameter [name=m] equals to 2067, violates the range [2350, 58653]