Ad
  • Custom User Avatar

    Thanks, found out that there is an extra '\n' symbol in the end of string. First, I tried to put '\0' on the position where '\n' stands, but I dont know why did it not work, so I made the algo stop putting that '\n' in the end and it became correct.

  • Custom User Avatar

    Are you sure there're no trailing spaces or some invisible characters? They might not be output in the error message, but comparison will fail.

  • Custom User Avatar

    Can you please help me?
    Testing result says that Actual does not match Expected, however I checked checked for a match both manually and with the help of string == operator, both told me they are equal.
    The problem is that yet I could not find the trick.
    Thanks!
    P.S. Solving in C++

  • Custom User Avatar

    Asking for help is not an issue, sorry.

  • Custom User Avatar

    Can you please help me?
    Testing result says that Actual does not match Expected, however I checked checked for a match both manually and with the help of string == operator, both told me they are equal.
    The problem is that yet I could not find the trick.
    Thanks!
    P.S. Solving in C++