Broken Swords

Question

Solution

Idea

This question seems to be an algorithm question, but instead it is a maths problem! The flowchart is shown as follows:

The part of code related is shown as follows:

Code

https://github.com/mendax1234/Coding-Problems/blob/main/kattis/brokenswords/brokenswords.c

Last updated