QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120985#6115. Blocks and ExpressionsZhaoZiLongWA 1ms3504kbC++171.6kb2023-07-07 13:13:342023-07-07 13:13:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 1
5

output:

5

result:

ok 1 number(s): "5"

Test #2:

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

input:

2 3
.-.
9.2

output:

7

result:

ok 1 number(s): "7"

Test #3:

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

input:

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

output:

95

result:

ok 1 number(s): "95"

Test #4:

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

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: 3400kb

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: 0ms
memory: 3404kb

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: 1ms
memory: 3444kb

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: 3392kb

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: -100
Wrong Answer
time: 1ms
memory: 3456kb

input:

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

output:

-216

result:

wrong answer 1st numbers differ - expected: '228', found: '-216'