Emdee five for life

Well, even after adding that something and rewriting the whole thing in C, I still get “too slow”. So I need to restate my initial question: what am I supposed to do here?