CCC '03 S4 - Substrings
Submit solution
C++, Python
Points:
1
Time limit:
1.0s
Memory limit:
256M
Problem types
Allowed languages
50% of test cases will have \(l\) (the length of the string) where \(l \le 1000\) . For all cases, \(l \le 5000\) .
Sample Input
2
abc
aaaOutput for Sample Input
7
4
Comments