i finally solved it
This commit is contained in:
parent
20f2212595
commit
6380a9a928
2 changed files with 16 additions and 3666 deletions
File diff suppressed because it is too large
Load diff
|
@ -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}");
|
||||||
|
|
Loading…
Reference in a new issue