QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#808397#9802. Light Up the Griducup-team2791#WA 13ms5168kbC++235.1kb2024-12-10 20:31:452024-12-10 20:31:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 5108kb

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: 9ms
memory: 5168kb

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: 4ms
memory: 5164kb

input:

1 1000000 1000000 1000000 1000000
1
11
11

output:

2000000

result:

ok 1 number(s): "2000000"

Test #4:

score: -100
Wrong Answer
time: 13ms
memory: 5124kb

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

result:

wrong answer 6th numbers differ - expected: '36', found: '38'