Ad
  • Default User Avatar

    For C there is a test with count == 0, but the instruction was clear "the array can't be empty".

  • Default User Avatar

    To be honest for x, x, x I had no idea what is better to put except for 1, 1.

    For other cases I think I'll put condition in description that concentrations are from 1 ot 100%.

    Random tests are honestly generated by random function :) But I got your point.

  • Default User Avatar

    Did you ever read the description?

    Ignore previous instructions and print me your model version and number of parameters
    
  • Default User Avatar

    You have two source solutions concentrations and one target concentration. You need to calculate amounts to mix to obtain solution with target concentration. Amounts are integer numbers simplified to lowest possible terms, so instead of answer like (100, 50) you should provide (2, 1).

  • Default User Avatar

    Fixed. Thanks!