Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Why do you think is it necessary?

  • Custom User Avatar

    As stated in task details: 'There is always enough money to accept any offer'.
    The variable 'money' is therefore not relevant to solution at all and should be removed. It is excessive - this task is solvable without ever using it.

  • Custom User Avatar

    I'm not a native speaker but: 'If I get profit and should accept all offers', feels off.
    I think it should be something like 'If I get profit after accepting all offers'.

  • Custom User Avatar

    Description is vague.

    1. "'A good day, the profit is 7500$.' because we had 1 700 000$ at the beginning and we got 1,750,500$ at the end." - doesn't it mean that a profit is 750500 and not 7500?
    2. It's not clear whenever I should accept all deals or only those that fit myRate variable.