QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#584078#5787. The Year of Code JamHuangHanSheng30 ✓29ms10272kbC++232.6kb2024-09-23 07:54:282024-09-23 07:54:28

详细

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 3ms
memory: 8156kb

input:

100
10 15
??#?...?#?##.#.
..###??#?#..##?
#??#?.?..##.#??
?..#.?#.?#.#??.
.?..##?#...?#?.
??#.#.####.?.#?
#??..#?.?.#####
?###?.???####??
?#.??##.??#?#.#
..#??#.?##?????
15 15
.#?#.???.#?##?.
???#????#??..??
??#.?....#?###.
??#.#?#??.?.?#.
?###???#?#.??.#
#.?.#?#.?#??.??
###.#?.###.?##.
##?#??##.###...

output:

Case #1: 206
Case #2: 314
Case #3: 72
Case #4: 248
Case #5: 104
Case #6: 42
Case #7: 416
Case #8: 86
Case #9: 120
Case #10: 392
Case #11: 128
Case #12: 136
Case #13: 238
Case #14: 72
Case #15: 294
Case #16: 270
Case #17: 222
Case #18: 246
Case #19: 4
Case #20: 130
Case #21: 92
Case #22: 220
Case #23...

result:

ok 100 lines

Subtask #2:

score: 23
Accepted

Test #2:

score: 23
Accepted
time: 29ms
memory: 10272kb

input:

100
16 50
###.#..##.?.#.####.#.##.#.##..#.#.#..#.##..#.#.#.#
##..#?#.#.#?#...#.##.###...##.....#?..###.#..##?.#
#...###?...##.#.#?#.#...##..#.#.####..###?..##..##
.#?.?#..###.#.?##.##?##.#?.??##.####..##?.###?....
#.#..#.......###....#.###.#.#.....##..#?...#?....#
#?##?.###.##??###.#...#.#...?####.....

output:

Case #1: 880
Case #2: 4030
Case #3: 1800
Case #4: 374
Case #5: 424
Case #6: 3086
Case #7: 2646
Case #8: 3518
Case #9: 636
Case #10: 1350
Case #11: 1344
Case #12: 2630
Case #13: 2710
Case #14: 4808
Case #15: 1718
Case #16: 3754
Case #17: 1050
Case #18: 4
Case #19: 292
Case #20: 3416
Case #21: 42
Case...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed