Click here to Skip to main content
15,917,951 members

Comments by csdv711 (Top 4 by date)

csdv711 19-Mar-11 12:45pm View    
Hi Dave,
Please take a look at my solution down here, I can be sure that I didn't use any line of Shahin's code. He's just given me a way to solve my problem, just like you.
I know you gave me the right thing, so thank you !
csdv711 19-Mar-11 9:48am View    
Thank you a lot xD
csdv711 19-Mar-11 6:50am View    
Thank you.
But would you please helping me again with 2 number k,l is the same value = 2 ?
csdv711 19-Mar-11 2:51am View    
You're right. But in this case it's not exactly like the example I've given.
I want to count the elements between the 1 elements

{1,2,4,5,1,4,5,6,1,2,3,7,8,9,1}

As you see, how to do if this array has a lot of 1 in it ?