This commit is contained in:
parent
1f3223eccd
commit
7d936c5cec
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue