First, you vector has no size. Change line 9 to
temp is used as temporary storage.
It needs to be set to its relevant value; i.e.
So have a look at the line 22
Do you think that is right? Which variable are you setting the value of?
There's a few other cosmetic problems. For example, you have no need of posibilidades, and your indentation is screwed up (probably by tabs).
Last edited on
It doesn’t output anything because yabi is just taking the piss.