This makes sense?

i mean...my second "for loop" can repeat same number of times that Cont_Ultra counts?

I think you want

for(int j=0; j<Cont_Ultra; j++)