Problem Statement: USACO
Problem Anaylsis: Contest Results
I understand most of the solution, but I don’t understand why there are 4 extra elements at the end of both the dr and dc arrays that don’t travel a distance of 3.
Problem Statement: USACO
Problem Anaylsis: Contest Results
I understand most of the solution, but I don’t understand why there are 4 extra elements at the end of both the dr and dc arrays that don’t travel a distance of 3.
bump
Moving EWE is equivalent to moving E.
Thanks, I finally understand that!