Ad
  • Custom User Avatar

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

  • Custom User Avatar

    Is it possible to implement this in Kotlin? When attempting a logical AND operation, garbage is returned. When I look at the code that compiles in Java, there is a completely wrong idea.
    UPD:Implemented via string. But the test fails. Error with ip: 89.118.64.172.
    In 10th representation it is 1500922028.
    In the 2nd representation - 10110010111011001000000101011000. The first 8 bits 10110010 = 178. Am I missing something or is there an error in the tests?

  • Custom User Avatar

    If you were able to write a “slow” version, look at the output of numbers and the operation of the algorithm, look for a pattern.