Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
(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.