We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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!
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest 2
You are viewing a single comment's thread. Return to all 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!