homework2-st

I.

1.for loop i >=0

2.x=[]

3.x=[0]

4.x=[3,2,5]

II.

1.

int cnt = 0;

if (x[i] == 0) {

  cnt = i;

}

...

 return cnt;

2.x=[]

3.x=[0]

4.x=[0,1]

原文地址:https://www.cnblogs.com/itria/p/5248786.html