QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505407#5769. No Cheatingxiaowuc130 ✓19ms5492kbC++173.3kb2024-08-05 05:09:362024-08-05 05:09:36

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3656kb

input:

20
4 3
...
...
..x
...
7 3
.x.
...
...
...
...
...
...
10 10
...x......
.........x
....x.....
x.x......x
....x.....
..........
..........
xx........
..........
......x...
7 9
.......x.
.........
.........
.........
.........
x........
.........
3 7
.......
.......
....xx.
9 9
..xx..x..
..x.x....
......

output:

Case #1: 7
Case #2: 14
Case #3: 46
Case #4: 34
Case #5: 11
Case #6: 31
Case #7: 5
Case #8: 22
Case #9: 0
Case #10: 32
Case #11: 16
Case #12: 1
Case #13: 30
Case #14: 19
Case #15: 15
Case #16: 18
Case #17: 35
Case #18: 26
Case #19: 8
Case #20: 21

result:

ok 20 lines

Subtask #2:

score: 20
Accepted

Test #2:

score: 20
Accepted
time: 19ms
memory: 5492kb

input:

20
78 77
.xxx..x....xx.xx.x........x..x.x.xxx.x..x..xx..x.x...x.x.xxx...xx.x.x..x....x
xxxx.....x..x.....xx..x...x.x.xx..x.xx..xx.x..xx..x.x.x.....xx.x.x...x..x.xx.
x.....xx..xx......xx.x....xx..x.xx.x.......x.x..xx..x.....xxx........x.x...x.
x...x...x.....x...xxx.xx.x.x........xx...xx.....xx......x...

output:

Case #1: 1999
Case #2: 1206
Case #3: 155
Case #4: 1152
Case #5: 2807
Case #6: 0
Case #7: 980
Case #8: 1925
Case #9: 624
Case #10: 1521
Case #11: 1
Case #12: 33
Case #13: 3000
Case #14: 1966
Case #15: 656
Case #16: 115
Case #17: 123
Case #18: 513
Case #19: 562
Case #20: 1402

result:

ok 20 lines

Extra Test:

score: 0
Extra Test Passed