Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Fórum ➡ Border of a string S with at least 3 non-overlapping solutions...

Language: Editor: Layout:
+ ] Show input
Compilation time: 0,22 sec, absolute running time: 0,13 sec, cpu time: 0,12 sec, average memory usage: 15 Mb, average nr of threads: 3  
fork mode |  history  | discussion
	string=mamxmamam
	border=m
	length=1
1
	string=codility
0
	string=abc
0
	string=kkk
	border=k
	length=1
1
	string=barbararhubarb
	border=b
	length=1
1
	string=barbarabarbrhubarb
	border=barb
	length=4
4
	string=xyzaxyzbxyz
	border=xyz
	length=3
3
	string=abab
0
	string=ababab
	border=ab
	length=2
2
	string=baaab
0