Monday, February 14, 2005

Love as an ACM problem

It's Valentine's day, and My Girlfriend(tm) just happens to be in Japan and won't be coming home until the end of February. So that means there'll be no candle-lit dinner or roses or chocolates or a good-night kiss. At least we'll get to talk via Skype.

Knowing how much she loved puzzles, I prepared a nice coded message for her, using a simple substitution cypher (with a little extra).


1 88 22 2 14 8 18 25 15 21 13 88 8 2 11 14 25
20 9 20 18 25 12 14 88 13 16 16 23 12 24 88
15 7 88 23 2 11 23 13 19 13
20 9 7 88 15 15 7 88 20 9 17 24 11 13 26 88
20 9 3 23 88 19 22 21 23 5 14 20 26 88 13 6
19 17 20 12 18 12 88 23 10 14 15 88 19 16 17 17 88
18 6 22 24 22 19
9 88 12 16 24 8 88 25 16 23 88
4 6 3 21 9 24 26

19 15 17 26 88 2 13 3 17 15 10 26 12
12 88 5 2 20 23 12
23 10 22 11 88 2 2 22 8 8 88 2 19 7 4 24 13 88
9 20 88 23 2 11 23 13 19 13
6 16 20 88 19 17 20 12 18 12 88 19 88
5 25 18 15 19 24 15 22 22


So here's her reply:


4 3 25 21 18 20 8 23 20 13 15 4 16
23 2 23 11 22 1 20 10 17 14 17 15 6
0 23 7 16 14 22 4 21 0 19 0 1 20 5 19
1 16 4 24 25 21 8 16 18 15 6 24
15 25 15 5 19 19 11 10 18 22 19 21
11 10 21 6 12 1 21 14 4 9 5 20 13
16 24 1 15 24 25 14 19 18 18 19 0 21
16 24 10 14 10 5 16 25 18 7 24 5
16 7 1 14 17 5 23 0 18 22 19 4 1 13
23 12 21 2 11 2 0 10 1 14 12 10 23
25


And her clue:

4 13 1 0 10 1 15 12 19
is "dominique"

However, I preferred:

23 13 0 13 0 4 5 23 17 9 13 20 11 18 9 24 11 23 12
7 16 18 21 8 25 6 17 8 9 16 1 9 7 5 15 9 17 1 17 6 3


Geeks do fall in love! And it's very hard work, too!

Happy Valentine's Day to all!

1 comment:

  1. Hehehehe :D
    I am the type to prefer word puzzles though.

    So in case you do know someone who wants to send me a puzzle... Tell that person I would love a word puzzle

    *laughs*

    ReplyDelete