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. Prepare
  2. Algorithms
  3. Game Theory
  4. Simple Game
  5. Discussions

Simple Game

Problem
Submissions
Leaderboard
Discussions
Editorial

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

  • Abzollo
    6 years ago+ 1 comment

    Whoever called this problem "simple game" is a moron because it's not even remotely simple. Seriously, if it's simple for you, you might as well call yourself John von Neumann.

    Lol. Anyway, I was able to solve 24 test cases while the others timed out. I just really don't want to look for optimizations anymore. This problem is heavy on combinatorics. If you have any suggestions on how to improve, please enlighten me.

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