|
|
back to boardLittle trick: if you are getting W3, or W5 or whatever use simple algorithm: - checks only initial. - keep state of previous - initial state of previous is 1, since postman is in leftmost case useful test cases: ---- 1 Bambi 1 (not 0, because he moves to second case with one step) ---- 1 Alice 0 ---- 1 Dumbo 2 --- Re: Little trick: if you are getting W3, or W5 or whatever WA 5, but test is true( sorry, because I don't know English:) Re: Little trick: if you are getting W3, or W5 or whatever Didn't get your testcase; if Bambi, Alice and Dumbo are the Kids, the answer should be 3, right? |
|
|