QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#785217#9802. Light Up the Griducup-team5984#WA 16ms6272kbC++202.2kb2024-11-26 17:11:322024-11-26 17:11:40

详细

Test #1:

score: 100
Accepted
time: 16ms
memory: 4492kb

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

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: 13ms
memory: 6272kb

input:

1 1000000 1000000 1000000 1000000
1
11
11

output:

2000000

result:

ok 1 number(s): "2000000"

Test #4:

score: -100
Wrong Answer
time: 16ms
memory: 4488kb

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
36
36
38
36
42
38
40
38
36
44
34
34
36
32
29
36
38
40
36
38
42
36
27
34
36
36
32
33
32
40
34
36
38
40
42
34
36
32
29
36
38
40
40
35
39
36
38
36
40
29
38
40
36
38
42
40
40
34
41
38
34
32
34
38
36
36
40
38
34
34
27
34
32
38
36
38
36
36
36
36
31
34
34
34
38
38
38
38
40
40
36
36
36
27
34
38
36
34
...

result:

wrong answer 5th numbers differ - expected: '40', found: '38'