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
array에 담은이상
1 1 1 1
1 0 0 1
1 1 0 1
1 1 1 1
(1,1) 북쪽을 보고있는 상태 (0) 에서 이동한다고 가정했을때 (dx,dy)를 (-1,0) 이 아닌 (0,-1) 로 놓아야 합니다.
array[1][1] 가 array[1][0] 으로 가는 것이지 array[0][1] 로 가야하는 것이 아니니까요.
아마 가로축을 x로 생각하신 실수를 하신 것 같은데
확인 부탁드립니다.
The text was updated successfully, but these errors were encountered:
array에 담은이상
1 1 1 1
1 0 0 1
1 1 0 1
1 1 1 1
(1,1) 북쪽을 보고있는 상태 (0) 에서 이동한다고 가정했을때 (dx,dy)를 (-1,0) 이 아닌 (0,-1) 로 놓아야 합니다.
array[1][1] 가 array[1][0] 으로 가는 것이지 array[0][1] 로 가야하는 것이 아니니까요.
아마 가로축을 x로 생각하신 실수를 하신 것 같은데
확인 부탁드립니다.
The text was updated successfully, but these errors were encountered: