Anonymous user
Talk:Rep-string: Difference between revisions
→Clarification: '101' is ''not'' a rep-string
(→Clarification: Critical point: repetition is required) |
(→Clarification: '101' is ''not'' a rep-string) |
||
Line 14:
::To answer the question: ''Is string "101" a repeat of "10"?'' Yes. Repeated (twice, and then truncated) to the original length of three. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:22, 13 May 2013 (UTC)
::'101' is ''not'' a rep-string as '10' does not appear at least twice. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 09:27, 13 May 2013 (UTC)
::By the way, almost all programming examples have incorrect output, showing strings to be non-reps, whilest in fact, they are. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:22, 13 May 2013 (UTC)
|