When the round was nearly over, my friend and I were talking about problem C. While we discussed it, I noticed that my solution would not pass the system test so I changed it. Without him I would not have noticed that and I shouldn't change my code. This is cheating and I deserve penalty for this.