Ad
  • Custom User Avatar

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

  • Custom User Avatar

    My suggestion, if someone have problem with runtime, cheсk the input values ESPECIALLY bouncing.

  • Default User Avatar

    The random tests are just 1000 random numbers between 0 and Int32.MaxValue. Your solution doesn't cover all possible cases. You only check if something is divisible by 2, 3, 5, or 7... if it's not then you declare the number as prime. There are plenty of numbers which aren't divisible by those numbers but are divisible by other numbers. 361, for example isn't prime, but isn't divisible by any of those numbers.

  • Custom User Avatar

    What is this Random tests? I tried 2 options of solving and only Random tests is failing. Why? What kind of tests are there?

  • Custom User Avatar

    Problem,is that in VS it runs fine with all inputs, but here it output: "

  • Custom User Avatar

    Your code fails with this single input: "Welcome". I sincerely doubt the same code works fine with this input in VSC.

  • Custom User Avatar

    Why in VS 2019 everything works and when I check it here it's not?