QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121023#6115. Blocks and ExpressionsGuanYunchangWA 1ms3576kbC++201.9kb2023-07-07 13:59:242023-07-07 13:59:25

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3348kb

input:

1 1
5

output:

5

result:

ok 1 number(s): "5"

Test #2:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

2 3
.-.
9.2

output:

7

result:

ok 1 number(s): "7"

Test #3:

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

input:

4 9
...*.....
.-.....+.
9.4..*..5
....7.2..

output:

95

result:

ok 1 number(s): "95"

Test #4:

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

input:

9 35
...............................+...
...........*.....................*.
.+.....................+........8.6
5........+...........-...+.........
.......*..1........*..0.0....*.....
...+....5....*......8......+..9....
..5..+......2..+..........4.9......
....5.9.......7..*.................
..........

output:

34489

result:

ok 1 number(s): "34489"

Test #5:

score: 0
Accepted
time: 1ms
memory: 3404kb

input:

9 31
.....................+.........
.................+.....+.......
...-...............*..2..-.....
.+.....*..........7.3...7....+.
4.1..-.........-...........*..5
....0.5......*..2.........8.8..
...........*..8................
.........+..2..................
........2.5....................

output:

516

result:

ok 1 number(s): "516"

Test #6:

score: 0
Accepted
time: 1ms
memory: 3432kb

input:

7 29
...........+.................
.......-.................*...
...*.....-.......+.........+.
.-...*..0.2....*...*......8.2
5.7.2.1......-..1.2..-.......
............8.3.....8..*.....
......................3.1....

output:

148

result:

ok 1 number(s): "148"

Test #7:

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

input:

5 13
...........-.
.....+......8
.*.....*.....
0..+..0..+...
..8.2...0.6..

output:

-8

result:

ok 1 number(s): "-8"

Test #8:

score: 0
Accepted
time: 1ms
memory: 3380kb

input:

7 21
.......+.............
.-.......*...........
4....-..5..........+.
...+..1....*........6
..8.0.....2....+.....
.............+...+...
............0.8.9.1..

output:

207

result:

ok 1 number(s): "207"

Test #9:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

5 13
.........*...
...-.......+.
.*.....+..2.4
9.5..+..0....
....6.1......

output:

228

result:

ok 1 number(s): "228"

Test #10:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

7 29
.................-...........
...........*.......-.........
.......+.......+..7........-.
.*.......*...-..1........+..1
0..-....6.0.7.6........-..1..
..5..*...............-..1....
....9.0.............4.8......

output:

-12

result:

ok 1 number(s): "-12"

Test #11:

score: 0
Accepted
time: 1ms
memory: 3412kb

input:

9 37
.....................*...............
...................*.......+.........
...........-........5..-...........+.
.........+.....+......3..+.....*....5
.+........7..-...+......1.4..-...-...
2......*....9.3.3.1.........2.8.2.2..
.....+..8............................
...+..6.........................

output:

1185

result:

ok 1 number(s): "1185"

Test #12:

score: 0
Accepted
time: 1ms
memory: 3328kb

input:

9 23
.-.....................
3..+...................
..3..............-.....
.....+...............+.
....9..+...........-..8
......4......*....9.5..
...........+...+.......
.........+..7.3.1......
........4.9............

output:

-81

result:

ok 1 number(s): "-81"

Test #13:

score: 0
Accepted
time: 1ms
memory: 3388kb

input:

12 37
.................................+...
...............................*...+.
...........................-....5.0.1
.........................+...*.......
...................+......6.5.9......
...+.................*...............
.*.....+............7..*.............
4.4..-...........*....1.8......

output:

371

result:

ok 1 number(s): "371"

Test #14:

score: 0
Accepted
time: 1ms
memory: 3396kb

input:

3 5
...+.
.*..2
9.3..

output:

29

result:

ok 1 number(s): "29"

Test #15:

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

input:

6 15
.*.............
0....*.........
...+.....*.....
..7.0..-...+...
......5.8.5..-.
............7.5

output:

0

result:

ok 1 number(s): "0"

Test #16:

score: -100
Wrong Answer
time: 1ms
memory: 3396kb

input:

5 11
.........+.
.....+....7
.-.....+...
8..-..1.6..
..3.4......

output:


result:

wrong answer Answer contains longer sequence [length = 1], but output contains 0 elements