All pastes #1238138 Raw Edit

Anonymous

public text v1 · immutable
#1238138 ·published 2008-10-27 21:26 UTC
rendered paste body

Length 1
a

Length 2
a{a}

Length 3
a{a{a}}
a{a,a}
a{a}{a}

Length 4
a{a{a{a}}}	; One section with no immediate commas: copies n-1
a{a{a,a}}
a{a{a}{a}}
a{a{a},a}	; One section with one immediate comma at position n-1: copies n-2 and 1
a{a,a{a}}	; One section with one immediate comma at position n-2: copies n-3 and 2
a{a,a,a}	; One section with two immediate commas: copies 1 and 1 and 1
a{a{a}}{a}	; Two sections with split at position n-1 with no immediate commas: copies n-2 and 1
a{a,a}{a}	; Two sections with split at position n-1 with one immediate comma in first section: copies [1 and 1] and 1
a{a}{a{a}}	; Two sections with split at position n-2, no commas: copies 1 and n-2
a{a}{a,a}	; Two sections, split n-2, one comma in 2nd section: copies 1 and [1 and 1]
a{a}{a}{a}	; Three sections: copies 1 and 1 and 1

Length 5 total must be 45 and is
a{#4}			; this has 11
a{#3,#1}		; this has 3
a{#2,#2}		; this has 1
a{#1,#3}		; this has 3
a{#2,#1,#1}		; has 1
a{#1,#2,#1}		; has 1
a{#1,#1,#2}		; has 1
a{#1,#1,#1,#1}		; has 1
a{#3}{#1}		; has 3
a{#2,#1}{#1}		; has 1
a{#1,#2}{#1}		; 1
a{#1,#1,#1}{#1}		; 1
a{#2}{#2}		; 1
a{#2}{#1,#1}		; 1
a{#1,#1}{#2}		; 1
a{#1,#1}{#1,#1}		; 1
a{#1}{#3}		; \
a{#1}{#2,#1}		;  L_ 6
a{#1}{#1,#2}		;  |
a{#1}{#1,#1,#1}		; /
a{#2}{#1}{#1}		; \_ 2
a{#1,#1}{#1}{#1}	; /
a{#1}{#2}{#1}		; \_ 2
a{#1}{#1,#1}{#1}	; /
a{#1}{#1}{#2}		; \_ 2
a{#1}{#1}{#1,#1}	; /
a{#1}{#1}{#1}{#1}	; 1

Length 6 total must be 197 and is
a{#5}			; 45	\
a{#4,#1}		; 11	|
a{#3,#2}		; 3	|
a{#2,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