Input
7
|
__ |
_ / \ |
/ \ / \ |
_____ ____\_/___\_____\__ |
_/__ ____ / \\ \ |
__/____\____________\_/_\____/_____|
Participant Johnny
Action 1 ramp_up
Action 3 ramp_up
Action 9 jump 3
Action 17 loop
Participant Emma
Action 1 ramp_up
Action 3 ramp_up
Action 9 jump 2
Action 13 jump 1
Action 27 jump 10
Participant Colton
Action 1 jump 3
Action 6 ramp_down
Action 10 jump 4
Action 21 loop
Participant Sakura
Action 1 ramp_up
Action 21 loop
Action 25 loop
Action 26 loop
Action 27 loop
Action 28 loop
Output
_
... / \
_____ ___\_/____________
_/
__/ ____|
Johnny score is 73
.. . .......|
_____ __ _____________
_/
__/
Emma score is 75
_
...__ .... / \
__ \___ _____\_/____________|
Colton score is 13
__
/ \
/ \
_\ \
____ / \\ \
__/ _____________\_/_\____/_____|
Sakura score is 128
Input
6
|
________ _____ __ |
___/ _______ / \ |
____ ________/ ____ \ / \ |
/ \ ________ ___/ \__ \ / |
__/______\___________________________________________________\__/__________|
Participant Natasha
Action 1 ramp_up
Action 7 jump 7
Action 20 ramp_up
Action 24 ramp_up
Action 33 jump 2
Action 62 loop
Action 63 loop
Participant John
Action 1 ramp_up
Action 7 jump 4
Action 19 jump 6
Action 30 jump 2
Action 38 jump 4
Action 44 ramp_up
Action 49 ramp_down
Participant Alex
Action 1 ramp_up
Action 7 jump 5
Action 20 ramp_up
Action 24 ramp_up
Action 33 jump 4
Action 41 jump 6
Action 63 loop
Output
..
________ __
....... ___/ / \
____ ______/ / \
/ ___ \ /
__/ ______________________\__/__________|
Natasha score is 141
....
____ .... ____
/ ...... ..______ __/ \__
__/ ________ _____ ______________________|
John score is 57
.... ......
________ ____ __
..... ___/ ______ / \
____ ________/ / \
/ \ /
__/ _______\__/__________|
Alex score is 190