i finally solved it

This commit is contained in:
endernon 2024-12-04 23:38:59 +00:00
parent 187bf3d466
commit f69ff1ffd7

View file

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