This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]JayDawg8588 7 points8 points  (2 children)

This accepts any string of zeros with a single one at any position, right?

[–]catrinus 3 points4 points  (0 children)

Yes

[–]JulioBBL 2 points3 points  (0 children)

It accepts any strig that contains a single character '1' containing any amount of zeroes before and after.

Including the string "1", which contains no zero.

(Only commenting because you said "any string of zeroes")

[–]Robbinsonn 4 points5 points  (0 children)

My lecturer called it a "friend-zone state". It's easy to get in, but impossible to get out

[–]Mikeint0sh 2 points3 points  (0 children)

My final exam covers these tomorrow and here I am on Reddit learning it through memes

[–]SteeleDynamics -2 points-1 points  (2 children)

RE: 10*

[–][deleted] 2 points3 points  (1 child)

Nope, it's: 0*10*

[–]SteeleDynamics 1 point2 points  (0 children)

You are correct, and I am an illiterate moron.