Beecrowd Problem 1865 - Mjölnir Solution C Language