Triangle Quest 2

  • + 0 comments

    I've found a…

    HackerRank compiler bug

    Not satisfied that a non-mathematical couldn't pass the tests, I decided to try some other clever solutions. I tried code with only ONE for statement. However, the compiler is buggy and it counts a format() call as a second for statement! Would this pass the tests if it weren't for the for bug? I don't know!