QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#781385#9802. Light Up the Griducup-team2866#WA 169ms14244kbC++202.6kb2024-11-25 15:58:582024-11-25 15:59:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 169ms
memory: 14244kb

input:

2 1000 100 10 1
4
10
00

01
00

00
10

00
01
1
11
11

output:

1121
2

result:

ok 2 number(s): "1121 2"

Test #2:

score: 0
Accepted
time: 92ms
memory: 10748kb

input:

2 1 1 1 1
4
10
00

01
00

00
10

00
01
1
11
11

output:

5
2

result:

ok 2 number(s): "5 2"

Test #3:

score: 0
Accepted
time: 90ms
memory: 10660kb

input:

1 1000000 1000000 1000000 1000000
1
11
11

output:

2000000

result:

ok 1 number(s): "2000000"

Test #4:

score: -100
Wrong Answer
time: 155ms
memory: 11644kb

input:

10000 8 2 7 8
8
00
01

00
11

00
10

11
11

10
10

01
10

01
00

10
11
8
11
01

11
00

01
10

11
11

00
01

01
01

01
00

11
10
9
00
00

01
01

10
11

00
01

11
10

11
00

11
11

00
11

01
10
9
11
11

10
00

11
00

11
01

00
10

01
11

00
01

01
01

10
01
11
00
01

01
01

10
10

00
11

11
11

11
10
...

output:

38
36
27
40
42
36
0
38
40
22680
28
0
34
37
37
36
29
5893
39
40
38
28
9
41
29
24
41
38
34
234
32
1542
36
38
22808
43
30
34
37
34
29
40
2841
27
44
35
43
41
38
7488
5
29
44
30
36
29
43
11
41
38
1144
39
0
34
34
0
42
4
42
40
37
40
28
34
32
42
2
39
26
37
4
42
10
38
38
34
5
40
14
42
40
14
29
30
42
30
36
40...

result:

wrong answer 1st numbers differ - expected: '34', found: '38'