Hi,

Input case no. 15 in the small input of this problem is:

92 1 97 47 0 1

First Move: 
Dragon performs Debuff 
92 1 97 46 0 1
Knight replies with new attack power 46
46 1 97 46 0 1

second move: Cure (anything else results in defeat)
92 1 97 46 0 1
Knight attacks with 46
46 1 97 46 0 1

third move: Cure (same logic)
92 1 97 46 0 1
Knight attacks with 46
46 1 97 46 0 1

Isn't this an IMPOSSIBLE scenario.
However, the correct answer seems to be 166.

Can anyone explain how?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/b3d02536-0ef8-471d-8ab9-da4044a9e0df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to