Issue with the problem :Maze Checking and Visualization( ICPC Archive)

I have been trying to solve this question :
https://icpcarchive.ecs.baylor.edu/index.php?option=onlinejudge&page=show_problem&problem=122

But I think that the sample output should be a little defferent.
Shouldnt the output be like-

Maze 1:

+---+---+---+
        |   | 
+---+   +   +
|   |       |
+   +   +   +
|       |   |
+   +   +---+
|   |        
+---+---+---+

Maze 2: 

+---+---+---+---+---+---+---+
    |   |                   |
+   +   +---+   +---+   +   +
|   |           |       |   |
+   +---+   +---+   +---+---+
|               |            
+---+---+---+---+---+---+---+

Maze 3:

+---+---+---+---+
            |   |
+---+   +   +   +
|   |   |   |   |
+   +   +---+   +
|               |
+---+---+---+   +
|       |       |
+   +   +   +---+
|   |            
+---+---+---+---+

Hey I could not find the question in 2023, can you share me if you have it.