So the problem itself is pretty understandable, and is possible to implement in C, though my garbage homework-assigner decided to allow us to use pointers, only. I\'ve tried