QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120984#6115. Blocks and ExpressionsZhaoZiLongWA 1ms3524kbC++171.6kb2023-07-07 13:12:132023-07-07 13:12:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3332kb

input:

1 1
5

output:

5

result:

ok 1 number(s): "5"

Test #2:

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

input:

2 3
.-.
9.2

output:

7

result:

ok 1 number(s): "7"

Test #3:

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

input:

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

output:

95

result:

ok 1 number(s): "95"

Test #4:

score: 0
Accepted
time: 0ms
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: 3464kb

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

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

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

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

input:

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

output:

-216

result:

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