You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we can set m=3 n=1, -> s[3][3] 0 0 0
0 0 0
0 0 0
a[]= 0 , 1 ,2;
if not StdRandom.shuffle(a) the result is 1 0 0
0 1 0
0 0 1
j=a[i]
you should restart understand the topic. you should known j = a[i]
I think s[a[i]][i]++; is right not s[i][a[i]]++; in 22 line num. Am I wrong?
The text was updated successfully, but these errors were encountered: