QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#786033#9802. Light Up the Griducup-team5984WA 32ms13500kbC++234.3kb2024-11-26 20:01:332024-11-29 22:55:51

詳細信息

Test #1:

score: 100
Accepted
time: 32ms
memory: 13368kb

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: 28ms
memory: 13500kb

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: 28ms
memory: 13352kb

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: 13348kb

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:

36
34
38
38
42
38
44
40
42
43
38
46
36
39
39
34
31
41
41
42
40
41
46
39
31
39
39
40
36
36
34
43
36
38
43
42
46
36
39
36
31
38
41
42
44
37
41
39
40
40
43
31
42
43
38
43
45
42
43
36
44
41
39
35
36
40
40
39
44
42
36
38
30
36
34
40
38
41
40
39
38
40
36
36
36
36
44
42
40
40
42
42
39
42
40
31
38
42
38
36
...

result:

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