Ad
  • Default User Avatar

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

  • Default User Avatar

    randomTests in java won't do any tests in its current implementation: base is always 1 thus base != 1 is always false; edit proposal: replace base = 1;; by base = 2 + rand.nextInt(255); making even if (base != 1) unnecessary as it holds that 2 ≤ base ≤ 256.