Ad
  • Custom User Avatar

    My code passed the testing phases but is showing up nonesense characters(like a square with cross in it) after some characters in my output when I attempt it. The characters aren't displaying in this comment so I'll just make a bracket at places that those strange characters appear.

    Error Message :
    Incorrect answer for input: "fhGdEgEaBdgeehehGghbheghGagcab"
    Expected: "fh Gd Eg Ea Bdgeeheh Gghbhegh Gagcab"
    Actual: "fh Gd() Eg() Ea() Bdgeeheh Gghbhegh Gagcab"

  • Custom User Avatar

    Thank you guys! Appreciate it!

  • Custom User Avatar

    Hello! I'm learning myself how to program in C. Can anyone explain me what the code below means? I've passed the test but I found out that many people use this statement in solutions and I don't know what it means. Thanks in advance!
    return score > 0 ? score : 0;