Number of subarray given a value less than k
Hi, I have a problem when elements in array are negative or zero. The output is not always correct. I find also another code on the internet that solves this problém differently, but it also always does not work. Please can someone help me. https://code.sololearn.com/c702gwDlOJmh/?ref=app My code looks almost like this. I cant insert my because I wrote it only on my PC. But I can copy it if it would be necessary.