One problem is your char str[100];
which can’t hold a string with 100 letters.
Try:
char str[101];
solved a2oj shows wrong answer to my submission for 193.? [closed]
One problem is your char str[100];
which can’t hold a string with 100 letters.
Try:
char str[101];
solved a2oj shows wrong answer to my submission for 193.? [closed]