- Joined
- 1/13/11
- Messages
- 1,362
- Points
- 93
Yes I mistakenly allocated arrays when first begin solving the problem. For little n-s there is no a huge problem to harm memory and increase processing time. Definitely from the programming point of view, allocating array here is not a very clear solution.