Very Dirty String

Limits: 1s, 32 MB

Note : do not use gets() or getline() functions. normal scanf() or cin is good enough.


This is a companion discussion topic for the original entry at https://toph.co/p/very-dirty-string