Apr-10-2019, 12:49 AM
You definitely need to use different score accumulation arrays:
score1
and score2
. Now, you are appending all results to the same array named score
, it grows and becomes incompatible by size with k1_range
and k2_range
arrays