Hi, i am very tired because i'd just solving 788A - Functions again and i feel like "Oh, my God. This is too hard for me, but i have to solve it." This is "A" problem, but for Div.1 (i am still Div.2 and its like "C" problem in Div.2). And then i look to the other contestant code. I am very lazy at that time because i feel the problem is not for me, but no no... I continue to understanding how to solve the problem.
Back then i'd try my code, but its still "time limit exceeding". After hours of understand the other contestant code i feel like, yeah... its hard but i can do it. Several minutes later i try to submit my code and voila..! By the way, i am not copy the other contestant code, but i try to understand how to solve without "time limit" and i write with my own code.
I've doing this several times since i submit my first code 3 months ago. Yes, its look impossible. But if you can do it, its not impossible anymore.
Keep fight, Imad (newbie 996).