We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • Hackerrank Home
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. All Contests
  2. ProjectEuler+
  3. Project Euler #207: Integer partition equations
  4. Discussions

Project Euler #207: Integer partition equations

Problem
Submissions
Leaderboard
Discussions

    You are viewing a single comment's thread. Return to all comments →

  • earthiverse
    4 years ago+ 0 comments

    C++14.

    Correct for 0,1. Timeout for 2,10. Incorrect for 3,4,5,6,7,8,9.

    I have an idea how to speed up my script, but I don't know why it's failing for the majority of the scripts. I get the correct answer on Project Euler's site...

    edit: I was missing precision, using ints instead of longs. 2 to 10 now timeout instead of fail.

    1|
    Permalink
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature