Skip to content

BlueDream145/BSQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSQ

Epitech Project, BSQ

Subject:

You must find the largest possible square on a board while avoiding obstacles. The board is represented by a file passed as the program’s argument, respecting those constraints: • its first line contains the number of lines on the board (and only that), • "." (representing an empty place) and "o" (representing an obstacle) are the only two allowed characters for the other lines, • all of the lines will be the same length (except the first one), • there will always be at least one line, • each line is terminated by ’\n’. You program must print the board, with some "." replaced by "x" to represent the largest square you found.

Usage:

./bsq example_file

Example

alt text

Releases

No releases published

Packages

No packages published