Skip to content

gavetisyan/bsq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bsq

BSQ - final project of 42 Piscine

This app detects biggest empty square.

Input

It receives a file which contains the following.

In the first line: the number of lines in the map, then the "empty" character, then the "obstacle", then the "full" character (without spaces in between).

In the next lines the data, consisting of "empty" and "obstacle" characters (and line breaks ofc).

Output

BSQ prints out the map that was in the file, filling the largest square with the "full" character.

About

BSQ - final project of 42 Piscine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published