QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#788050#9802. Light Up the Griducup-team1057#WA 19ms3844kbC++171.8kb2024-11-27 15:43:182024-11-27 15:43:19

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3844kb

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

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

input:

1 1000000 1000000 1000000 1000000
1
11
11

output:

2000000

result:

ok 1 number(s): "2000000"

Test #4:

score: -100
Wrong Answer
time: 19ms
memory: 3784kb

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:

39
51
43
48
52
42
55
40
42
54
38
50
36
38
40
39
38
42
40
47
40
49
53
55
39
38
47
41
41
42
39
49
44
53
55
47
48
41
40
44
38
46
40
49
50
41
53
55
47
48
47
37
62
51
43
58
51
40
49
43
46
42
49
45
41
42
52
45
56
50
43
41
39
36
39
44
40
44
38
51
51
55
37
50
48
41
47
47
43
42
46
48
47
53
47
41
38
45
48
41
...

result:

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