DmytrPr / lab1pz

0 stars 0 forks source link

Negative direction #9

Open IanaKhitsko opened 3 months ago

IanaKhitsko commented 3 months ago

https://github.com/DmytrPr/lab1pz/blob/9bca27144e26bd00250021a2ab43af2c4e70127a/main.cpp#L82

Why do you need to check the negative direction after checking the (0,1) and (1,0) directions (horizontal and vertical) if you already checked them? I mean you pass the matrix from the beginning and row/col passes are already checked at this moment, no?