Project Euler #163: Cross-hatched triangles

  • + 1 comment

    Failing the testcases 2,3,8,9. Any hints on what could be the cause. I have tried some small numbers for which I calculated the triangles and I got correct results through my code.