Ad
  • Custom User Avatar

    Oh god I am already scared of attempting this now lol

  • Custom User Avatar

    Oh, now I get why some tests were failing. Thanks much for making things clear!

  • Custom User Avatar

    Yes, the point is that it's not determined how many ones or zeros constitutes one time unit.

    For one test case, time unit can be 1, and for another test case, one time unit can be 11, or 11111. So yes, a dot is one time unit, and a dash is three time units, but this means that if a time unit is three ones long, then one dot will be three ones, and one dash will be three time units, each of them three ones, what brought together makes it nine ones.

  • Custom User Avatar

    Hi! I'm a little confused with description. The standard specifies that "Dot" is 1 time unit long, whereas "Dash" - 3 units. I don't understand why the example with 'HEY JUDE' -> 1100110011001100000011000000111111001100111111001111110000000000000011001111110011111100111111000000110011001111110000001111110011001100000011 contains duplicated bits for dots, dashes and pauses. Like in stead of 1010101 for H character, it is 11001100110011. Does this mean that an arbitrary binary code may have a different length for time unit which represents number of bits for dot, dash and pause?
    Thanks in advance