Ad
  • Default User Avatar

    (language : c++)
    using my code, I can pass random test but can't pass my sample tests.
    As I've read about removing last character '\n'. I've done that too but again it showed my test has been failed.
    I have printed output on log using cout as following:
    aabbccdd
    aabbccdd
    aabbccdd
    eeffgghh
    eeffgghh
    eeffgghh
    iijjkkll
    iijjkkll
    iijjkkll
    mmnnoopp
    mmnnoopp
    mmnnoopp

    but still can not pass sample tests.