QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#140186#5413. 同构判定鸡flower#32.659082 4963ms4356kbC++202.7kb2023-08-15 11:43:472024-07-04 01:43:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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: 0
Time Limit Exceeded

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:


result:


Test #4:

score: 0
Time Limit Exceeded

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:


result:


Test #5:

score: 17.6591
Acceptable Answer
time: 4963ms
memory: 4356kb

input:

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

output:

2850 39995
1 461
1 1214
1 2341
1 150
1 2066
1 1626
1 2313
1 1965
1 2115
1 1599
1 244
1 30
1 2637
1 224
1 1047
1 1163
1 208
1 1413
1 2609
1 800
1 391
1 1533
1 1396
1 2008
1 1575
1 28
1 2750
1 2366
1 1258
1 310
2 1095
2 1038
2 65
2 951
2 2463
2 1992
2 1891
2 1351
2 1949
2 2200
2 640
2 1378
2 2390
2 21...

result:

points 0.58863607950 m' = 39995, 3M = 72900, points = 17.659082

Test #6:

score: 0
Wrong Answer
time: 3337ms
memory: 3660kb

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 2344
1 306
1 57
1 122
1 211
1 135
1 8
1 50
1 309
1 300
1 45
1 324
1 44
1 49
2 92
2 152
2 298
2 214
2 224
2 94
2 50
2 85
2 167
2 68
2 205
2 284
2 315
3 229
3 66
3 17
3 216
3 341
3 185
3 115
3 299
3 55
3 290
3 300
3 308
3 250
3 215
4 127
4 32
4 162
4 306
4 320
4 151
4 141
4 54
4 271
4 291
4 51
4 2...

result:

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