New answers tagged

2

Algorithm Looking at the code, it is not solving Project Euler #1, which asks for S = 3 + 5 + 6 + 9 + ... + 995 + 996 + 999 Your code is solving ... S = + 0 + 3 + 6 + 9 + ... + 999 + 0 + 5 + 10 + ... + 995 - 0 - 15 - 30 - ... - 990 ... which looks like steps for a completely different problem. In short, you've done some work to transform the algorithm from ...


Top 50 recent answers are included