Project Euler #125: Palindromic sums

  • + 1 comment

    can you explain how did you get that formula? I have used this formula but still getting timeout on every testcase except the sample testcase.