It tooks some time to finnaly implement the right solution. Calculation takes something about an hour on my machine. As a test I use task from linked post. More in the [Readme](https://github.com/death-of-rats/CTF/tree/master/Dice2021/plagiarism).