Ad
  • Custom User Avatar

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

  • Custom User Avatar

    I think the problem is still not fixed. You might want to import a definition of in the test code.

  • Custom User Avatar

    The statement did not mention how to deal with input lines of different lengths. Should we
    a) Pad with trailing spaces so that they all have the same length?
    or b) Pad with '\0's?
    or c) Do not pad, in which case the behavior wrapping is not well-defined?

    Each interpretation has its pros and cons, and there is no evidence as to which one is meant by the author. Please clarify.