if the i/p is as follows : abcd spaebcd
then for all the correct submissions we get answer : 4
whereas answer should be : 6
it doesn’t count the substrings : cd and bcd which are also present in the string.
why is that??
1 Like
@admin please investigate - it looks like the testcases for PRISTG may be broken, as I noted previously:
My (post-contest) submission for PRISTG here was marked incorrect; however the only marked-correct Python submission is extremely similar but fails to test the last character in the string so:
abcd
kldm
returns 0 instead of 1 and
abcd
kcdm
returns 1 instead of 3.