ACM-Solutions
ACM-Solutions copied to clipboard
Bug in the solution of LightOJ 1347
Your solution for LightOJ 1347 is giving wrong output for some cases. For example:
1 aaaaac caddcb cdbb
Your code prints 0 for this input, but the answer should be 1. Maybe judge dataset is weak.