Codility icon indicating copy to clipboard operation
Codility copied to clipboard

CountTriangles missing line

Open nemethyd opened this issue 3 years ago • 1 comments

I think in this part of code else{ // note: need to minus "1" // because the rightEnd is not included numTriangle = numTriangle + (rightEnd - leftEnd - 1); leftEnd++; // decrease the Caterpillar }

after leftEnd++ a line is missing: something like: if (leftEnd==rightEnd) rightEnd++

nemethyd avatar Sep 27 '21 12:09 nemethyd

How could i run this projects?

vvaldovic79 avatar Mar 05 '24 18:03 vvaldovic79