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

if WA18
Posted by Kirom `Ekexity [SESC17]💻 16 Apr 2019 18:33
8
AA
BB
CC
DD
EE
FF
GG
HH
6
AA HIT BB IN HEAD
AA HIT CC IN HEAD
AA HIT DD IN HEAD
AA REVIVE BB
AA REVIVE CC
EE REVIVE DD

CORRECT
AA BB CC FF
DD EE GG HH
Re: if WA18
Posted by Jane Soboleva (SumNU) 14 May 2019 18:33
I'll throw in another test for WA 44:

12
A
B
C
D
E
F
G
H
I
J
K
L
16
A HIT B IN HEAD
A REVIVE B
B HIT C IN HEAD
B REVIVE C
D HIT E IN HEAD
D REVIVE E
E HIT F IN HEAD
E REVIVE F
G HIT H IN HEAD
G REVIVE H
H HIT I IN HEAD
H REVIVE I
J HIT K IN HEAD
J REVIVE K
K HIT L IN HEAD
K REVIVE L

FAKE

Teams 3+3+3+3=12 cannot assemble into teams of 4. Same, for example, for (3+2)+(3+2)+(3+2)+(3+2)=20, etc.