QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#83051#4510. The Big Paintingxiaowuc1AC ✓102ms40752kbC++172.5kb2023-03-01 05:35:362023-03-01 05:35:39

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3808kb

input:

4 4 10 10
oxxo
xoox
xoox
oxxo
xxxxxxoxxo
oxxoooxoox
xooxxxxoox
xooxxxoxxo
oxxoxxxxxx
ooooxxxxxx
xxxoxxoxxo
oooxooxoox
oooxooxoox
xxxoxxoxxo


output:

4

result:

ok single line: '4'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3764kb

input:

2 2 3 3
xx
xx
oxx
xxx
oxo


output:

1

result:

ok single line: '1'

Test #3:

score: 0
Accepted
time: 18ms
memory: 18096kb

input:

300 600 1000 1000
ooxxoxooxxxooooxoxoxooxxoxoxooxooooxoxoxooxxoxoxoxxooooxoxoxooxxoxoxxoxooooxoxoxooxxoxoxxxxooooxoxoxooxxoxxoooxooooxoxoxooxxoxxooxxooooxoxoxooxxoxxoxoxooooxoxoxooxxoxxoxxxooooxoxoxooxxoxxxooxooooxoxoxooxxoxxxoxxooooxoxoxooxxoxxxxoxooooxoxoxooxxoxxxxxxooooxoxoxooxxxooooxxooooxoxoxoo...

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 102ms
memory: 40736kb

input:

1000 1000 2000 2000
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

1002001

result:

ok single line: '1002001'

Test #5:

score: 0
Accepted
time: 99ms
memory: 40752kb

input:

1000 1000 2000 2000
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

880789

result:

ok single line: '880789'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

4 4 10 10
oxxo
xoox
xoox
oxxo
xxxxxxxxxx
oooooooooo
xxooxxoxxo
ooooooxoox
xxxxxxxoox
xxxxxxoxxo
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx


output:

1

result:

ok single line: '1'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

2 1 5 4
x
x
xoox
xoxo
oooo
ooxo
xoox


output:

1

result:

ok single line: '1'

Test #8:

score: 0
Accepted
time: 2ms
memory: 3496kb

input:

2 1 3 3
x
x
xoo
xxo
xxx

output:

3

result:

ok single line: '3'

Test #9:

score: 0
Accepted
time: 2ms
memory: 3532kb

input:

2 1 5 4
x
o
xoox
oooo
oooo
ooxo
xooo

output:

3

result:

ok single line: '3'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3548kb

input:

2 2 4 3
xx
xx
xxx
xxx
xxx
xxx

output:

6

result:

ok single line: '6'

Test #11:

score: 0
Accepted
time: 18ms
memory: 18488kb

input:

500 500 1000 1000
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

251001

result:

ok single line: '251001'

Test #12:

score: 0
Accepted
time: 21ms
memory: 18312kb

input:

499 501 1000 999
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...

output:

1

result:

ok single line: '1'