1 - compare 4 with 4
: H# N; O) x" M+ _if (4v4)= same that means the rest of 4 is got more weight0 R$ V6 P% f! Z5 o% s
then goto 2 - compare rest of(4) - 2 with 2 tvb now,tvbnow,bttvb8 Q, B( T5 y5 U/ p/ l
if (left side is more weight)0 g( s# i) \6 o
then goto 3 - compare last (left side of ( 2) - 1 with 1 => get answer
5 S( C0 m( ~! M7 }; P公仔箱論壇 else ( right side is more weight)4 O9 Z% i1 C( @+ x7 O' ~
then goto 3 - compare last (right side of (2) - 1 with 1 => get answer
9 n) ~2 f, C: e; a2 e6 e0 z5.39.217.76else ( the left 4) then compare with above , or right 4 also can compare above method... |