QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#309928#524. 扫地机器人qiuzx100 ✓13ms3880kbC++172.5kb2024-01-20 22:43:332024-01-20 22:43:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 20
Accepted
time: 1ms
memory: 3532kb

input:

6
4 4
0000
0100
0000
0001
4 4
0000
0000
0100
0010
3 4
0010
0000
0011
4 2
01
00
00
01
3 3
000
010
000
4 4
0000
0011
1011
0010

output:

32
48
0
7
18
29

result:

ok 6 lines

Test #2:

score: 30
Accepted
time: 1ms
memory: 3880kb

input:

6
36 48
011111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111...

output:

1608
561
0
522350459
873501488
5769552

result:

ok 6 lines

Test #3:

score: 50
Accepted
time: 13ms
memory: 3584kb

input:

10
36 24
010000100000000000101000
000000000000010100000000
000000000000010000010010
110101000000000100000100
000000000000000000010000
000110000000000000100101
010100000001000100000000
001100101100000001000000
000000000000011011000000
101010010000000000010000
010000000000000010010100
0100000100000000...

output:

5825
383731359
98032859
2019
783509382
454661140
169333321
0
341832245
858152425

result:

ok 10 lines

Extra Test:

score: 0
Extra Test Passed