i finally solved it

This commit is contained in:
endernon 2024-12-04 23:38:59 +00:00
parent 20f2212595
commit 6380a9a928
2 changed files with 16 additions and 3666 deletions

File diff suppressed because it is too large Load diff

View file

@ -41,10 +41,10 @@ fn main() {
let widthleft = x >= 4;
let widthright = (lenx - x) >= 4;
let widthright = (lenx - x) >= 3;
// search algorithm starts here
// check if the char is s
// check if the char is X
if frfrvec[y][x] == 'X' {
println!("x is {x}");
println!("y is {y}");