QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#794969#9802. Light Up the Griducup-team3636#WA 31ms14552kbC++231.3kb2024-11-30 17:12:542024-11-30 17:12:54

详细

Test #1:

score: 100
Accepted
time: 14ms
memory: 14400kb

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: 12ms
memory: 14552kb

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: 16ms
memory: 14528kb

input:

1 1000000 1000000 1000000 1000000
1
11
11

output:

2000000

result:

ok 1 number(s): "2000000"

Test #4:

score: -100
Wrong Answer
time: 31ms
memory: 14548kb

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:

34
32
31
34
40
38
42
37
40
41
31
44
34
38
38
32
38
38
38
40
36
42
42
37
32
40
36
40
34
44
36
41
34
36
41
31
44
27
38
34
34
36
39
39
42
35
39
37
36
34
40
36
40
42
34
41
43
29
41
33
42
37
37
34
29
40
36
40
42
38
34
29
33
34
32
36
38
39
38
39
35
38
43
33
36
32
42
40
28
40
38
42
38
41
36
36
35
38
34
36
...

result:

wrong answer 3rd numbers differ - expected: '36', found: '31'