This commit is contained in:
Michał Ogrodowski 2011-04-12 10:06:24 +00:00
parent 1f3223eccd
commit 7d936c5cec

View file

@ -122,10 +122,15 @@ public class AlgorytmNajblizszeWezwanie implements IAlgorytm{
} }
for(i = 0; i < t.length; i++){ for(i = 0; i < t.length; i++){
int j;
int ilee=0; int ilee=0;
while(t[i]==t[i+1]){ for(j = 0; j < i; j++){
if(t[i]==t[i+1]){
ilee++; ilee++;
i++;
} }
}
ttt[i][0] = i; ttt[i][0] = i;
ttt[i][1] = ilee; ttt[i][1] = ilee;
ttt[i][2] = 1; ttt[i][2] = 1;