Similar Strings

  • + 2 comments

    I don't understand how to not timeout on test cases 11 and up. I downloaded test case 20 with hackos, and just reading in the input and printing it took longer than the alotted 4s test cases are allowed. I'm not sure what I'm doing wrong or if I can even make things faster.

    Edit: I used Java 7, looks like C works though.