Please, as much as possible, try to rewrite your work in detailed steps so that Gradarius could determine the type of mistake that is present in your solution.
Also we highly recommend that you take a look at this article about best practices in problem solving, which can help you solve problems more effectively.