#P1785. 漂亮的绝杀
漂亮的绝杀
Output Format
As described above:
- If the data are wrong, print
Wrong Data. - Otherwise, if a finisher is not possible, print
No. - Otherwise, print
Yes, then continue with the required lines for -star / -star / -star as specified in the problem description.
392 4 343
Yes
Eh..
OK
392 1 101
No
Hint
-
Notes:
- The Boss dies if and only if the Boss’s HP (in fact, if it becomes , it is automatically treated as ).
- It is possible that the Boss dies in one hit; then the combo cannot continue, and only the lifesteal from the killing blow is counted.
- Max HP is .
-
Constraints:
- For of the testdata, it is guaranteed that the result is
Wrong DataorNoorYes(newline)Great. - For another of the testdata, it is guaranteed that the result is not
Wrong Data. - For of the testdata, it is guaranteed that , , , even if it is
Wrong Data.
- For of the testdata, it is guaranteed that the result is
-
Source:
- fight.pet.qq.com
- Original problem authorized by absi2011.
Translated by ChatGPT 5
京公网安备 11011102002149号