Ad
  • Custom User Avatar

    Strange thing with C# random tests group-2: in both tests the 2nd number in actual answers always differs from expected in several units, while absolutely the same algorythm in Python works OK. Is the problem with my code or with tests? Codes in Python and C# are the same (except for syntax, of course).

  • Custom User Avatar

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

  • Custom User Avatar

    The third argument should be v, not n, according to details.