Meteor Shower
Solution sketch
Simply BFS.
Notice that…… the problem statement only states that the meteor will only strike
within the range [0, 300], but it does not state that the person can not walk beyond that range.
AC code
|
|
Never give up!
Simply BFS.
Notice that…… the problem statement only states that the meteor will only strike
within the range [0, 300], but it does not state that the person can not walk beyond that range.
|
|