ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2112. Battle log

Please Help to understand the question
Posted by anancodec 15 Apr 2019 21:31
I didn't understand if a player is hit by another ,what will be the changed condition of him? max(0,cur-1) or max(0,cur-2)?
Re: Please Help to understand the question
Posted by Kirom `Ekexity [SESC17]💻 16 Apr 2019 13:32
if "HIT IN BODY" then max(0, cur - 1)
if "HIT IN HEAD" then max(0, cur - 2)