hello Codeforces community, i participated in the "Red de Programacion Competitiva" activity #3 :
https://acm.javeriana.edu.co/maratones/2016/03/
and i would like you to help me in, how can I solve the "Problem B. Tobby Bones":
here is the link of the problems:
Thanks and sorry for my english