Home > Back-end > Could you tell me how to calculate a 100000 number of arrays, and not repeat number 1-50000
Could you tell me how to calculate a 100000 number of arrays, and not repeat number 1-50000
Time:09-19
As title, feel the amount of data is very large, head a blank, using c language implementation, beg god to solve!
CodePudding user response:
Multithreading technology, can be used to block the large arrays, each thread is a small part of the sum
CodePudding user response:
Thank invited, due to server maintenance, I can't see your links in the specific problems, But look at the title because he was a 100000 number array sum, Agree with # 1/f, you might also consider a reference ,
CodePudding user response:
"For 1-50000 don't repeat the number of us" is what? Value of 1-50000 not repeating element combination, or?