Ejemplo n.º 1
0
bb823(bbx*bbj,bbd bb92,bbh bbb*bb95,bbd bb47);bb4 bb472(bbx*bb824,bbd
bb910,bbx*bb857,bbd bb895,bbd bb539){bbd bb169=0 ;bbd bb147=0 ;bbd bb156
=0 ;bbd bb570=0 ;bbd bb1855;bbd bb1923;bbx*bb73=bb90;bbx*bb46=bb90;bb4
bb18=bb98;bbm(!bb824||!bb857)bb2 bb364;bbm(!bb824->bb74||!bb857->bb74
)bb2 bb364;bb73=bb824;bb46=bb857;bb147=bb895;bb156=bb73->bb125;bb107(
bb156<bb910&&bb73){bb73=bb73->bb93;bb570=bb156;bb156+=bb73->bb125;}
bb169=bb910-bb570;bb570=0 ;bb156=bb46->bb181;bb107(bb156<bb895&&((bb18
)==bb98)){bbm(!bb46->bb93)bb18=bb379;bb54{bb46=bb46->bb93;bb570=bb156
;bb156+=bb46->bb181;}}bb147=bb895-bb570;bbm(&(bb73->bb74[bb169])==&(
bb46->bb74[bb147]))bb2 bb18;bb107(bb539>0 &&bb73&&((bb18)==bb98)){
bb1855=bb73->bb125-bb169;bb1923=bb46->bb181-bb147;bbm(bb1855>bb539)bb1855
=bb539;bbm(bb1923>bb539)bb1923=bb539;bbm(bb1855<=bb1923){bb81(&bb46->
bb74[bb147],&bb73->bb74[bb169],bb1855);bb73=bb73->bb93;bb169=0 ;bb147
+=bb1855;bb539-=bb1855;bbm(bb46->bb125<bb147)bb46->bb125=bb147;}bb54{
bbm(!bb46->bb93)bb18=bb379;bb54{bb81(&bb46->bb74[bb147],&bb73->bb74[
bb169],bb1923);bb46->bb125=bb46->bb181;bb46=bb46->bb93;bb147=0 ;bb169
+=bb1923;bb539-=bb1923;}}}bbm(((bb18)==bb98)&&(bb539>0 ))bb18=bb379;
bb2 bb18;}bb4 bb524(bbx*bbj,bbd bb92,bbh bbb*bb2511,bbd bb47){bbx bb95
bb673(bbx*bbj,bbd bb92,bbh bbb*bb97,bbd bb47);bb4 bb467(bbx*bb859,bbd
bb905,bbx*bb865,bbd bb780,bbd bb539){bbd bb167=0 ;bbd bb147=0 ;bbd bb157
=0 ;bbd bb573=0 ;bbd bb1855;bbd bb1925;bbx*bb73=bb90;bbx*bb46=bb90;bb4
bb18=bb98;bbm(!bb859||!bb865)bb2 bb363;bbm(!bb859->bb74||!bb865->bb74
)bb2 bb363;bb73=bb859;bb46=bb865;bb147=bb780;bb157=bb73->bb128;bb108(
bb157<bb905&&bb73){bb73=bb73->bb94;bb573=bb157;bb157+=bb73->bb128;}
bb167=bb905-bb573;bb573=0 ;bb157=bb46->bb180;bb108(bb157<bb780&&((bb18
)==bb98)){bbm(!bb46->bb94)bb18=bb376;bb54{bb46=bb46->bb94;bb573=bb157
;bb157+=bb46->bb180;}}bb147=bb780-bb573;bbm(&(bb73->bb74[bb167])==&(
bb46->bb74[bb147]))bb2 bb18;bb108(bb539>0 &&bb73&&((bb18)==bb98)){
bb1855=bb73->bb128-bb167;bb1925=bb46->bb180-bb147;bbm(bb1855>bb539)bb1855
=bb539;bbm(bb1925>bb539)bb1925=bb539;bbm(bb1855<=bb1925){bb81(&bb46->
bb74[bb147],&bb73->bb74[bb167],bb1855);bb73=bb73->bb94;bb167=0 ;bb147
+=bb1855;bb539-=bb1855;bbm(bb46->bb128<bb147)bb46->bb128=bb147;}bb54{
bbm(!bb46->bb94)bb18=bb376;bb54{bb81(&bb46->bb74[bb147],&bb73->bb74[
bb167],bb1925);bb46->bb128=bb46->bb180;bb46=bb46->bb94;bb147=0 ;bb167
+=bb1925;bb539-=bb1925;}}}bbm(((bb18)==bb98)&&(bb539>0 ))bb18=bb376;
bb2 bb18;}bb4 bb522(bbx*bbj,bbd bb92,bbh bbb*bb2511,bbd bb47){bbx bb97