hzesen1221 / CS371P-OOP-Collatz

0 stars 0 forks source link

Addition 9: (Bug) when using array as cache, segmentation fault. [FIXED] #19

Open hzesen1221 opened 12 years ago

hzesen1221 commented 12 years ago

still working on it

hzesen1221 commented 12 years ago

fixed: use long long instead. when computing the cycle length of some number, it goes beyond the limit of int.