Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: Comparison by position and value

by ambrus (Abbot)
on Jan 02, 2005 at 11:25 UTC ( #418775=note: print w/replies, xml ) Need Help??

in reply to Re^2: Comparison by position and value
in thread Comparison by position and value

I don't see your problem:

_8__3__19 v 48____7__ ? 0 ^ _8__3__19 v 4_8___7__ ? 1 _8__3__19 v 48_____7_ ? 0 ^ ^

For these strings at least, the result is 0 iff there is a clash of two digits somewhere.

Replies are listed 'Best First'.
Re^4: Comparison by position and value
by BrowserUk (Patriarch) on Jan 02, 2005 at 11:28 UTC

    The first two strings are compatible, because they only overlap (contain a digit in the same place) where the digit is the same in both strings. Please see the 3 examples in the OP.

    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://418775]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2023-10-05 00:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found