New answers tagged

1

For the benefit of all, here's the problem with the atoi issue. Look at this line of code: atoi(rep[p]) += 1; The atoi function returns a value that must be stored somewhere. This line of code is trying to add 1 to... well... what? The integer value that would be returned by atoi is simply not being used. This is not the correct way to use the atoi ...


0

Problem solved, I implemented a whole-another algorithm. Thanks so much.


Top 50 recent answers are included