You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey JingShing
nice job providing this. :)
i have prob two findings:
if color >= (color>>2) > matrix[row&matrix_len][col&matrix_len]:
do you really need the first condition? the first condition is always fullfilled
i guess the indexing formula e.g. row&matrix_len does only work for 8,4 and 2 but not for 3 or isnt it?
in case of 3 you get only index of 0 or 2 but never 1. i guess you want do somthing like modulo or?
regards Stephan
The text was updated successfully, but these errors were encountered:
Hey JingShing
nice job providing this. :)
i have prob two findings:
do you really need the first condition? the first condition is always fullfilled
in case of 3 you get only index of 0 or 2 but never 1. i guess you want do somthing like modulo or?
regards Stephan
The text was updated successfully, but these errors were encountered: