So I was doing 1348C, and wasted 3 hours today trying to figure out what was wrong with my code. I knew which case was wrong (the last one). I kept looking through the code, but couldn't find it until I noticed that I put == instead of !=. Rip. I'm gonna go outside and walk the neighborhood like an ***hole.
Umm, I don't think codeforces blogs are made so you can discuss about your personal things. Eventually, no one would care.
I spent several hours on D of the same contest. Nevertheless, I think it's a matter of practice and experience. Another way to avoid that kind of issue is to code the entire thing again (which should take 5-10 minutes rather than 3 hours).