For this problem, you just need to solve part 2 (Subtasks 6 to 10).

As such, you only need to implement the procedure `void play2(int N)`

.

Do note that you have to use `#include "stagegames_part2.h"`

instead of `#include "stagegames.h"`

.

For Subtask 9, your score is calculated as 50 * (1000−X) / **250**, with a maximum of 50 points for that subtask.

Part 1 of the problem is available at `stagegames_part1`

.

Subtask | Score |
---|---|

1 | 13 |

2 | 16 |

3 | 21 |

4 | 50 |

5 | 0 |