https://www.facebook.com/hackercup/
Team: paiv
Language: C++, Python
https://www.facebook.com/hackercup/problem/1254819954559001/
Similar to angle gradient algorithm from https://github.com/paiv/AngleGradientLayer
Work this out on a paper. There is no need for enumeration, and it has single solution.
- Probability and Games: Damage Rolls from Red Blob Games
- Dice-Rolls in Role-Playing Games (Troll)
- tool: AnyDice
- tool: Troll dice roller and probability calculator
https://www.facebook.com/hackercup/problem/1800890323482794/