#CANNON Solution for a URI Online Judge question previously written in Python but now rewritten in C https://www.urionlinejudge.com.br/judge/pt/problems/view/1102