Skip to main content

Problem #1

As I promised, this is the first SFP

______________________________________________________________

In a remote island, the language used by the locals only uses seven letters:
A, B, C, D, E, F, G.

We say that two words are synonymous if we can transform one into the other according to the following rules:

Rule 1. You may change a letter into two letters in the following way:
A --> BC, B --> CD, C --> DE, D --> EF, E --> FG, F --> GA, G --> AB.

Rule 2. If a letter is between two equal letters, the two equal letters can be removed. For example, DFD --> F.

For example, BED is synonymous with BEEF by Rule 1; BABE is synonymous
with AE by Rule 2.

Show that all words in this language are synonymous.
____________________________________________________________________

Good luck~

Comments

  1. kalau kau nak aku jawab mmg tak aaa kan. aku nak kasi kau soklan baru jee. muahahaahahaha!

    http://pages.intnet.mu/rasputin/trivia.htm

    ReplyDelete

Post a Comment

Popular posts from this blog

Emotional State

My current emotional state is like this: I am sitting in a room. The door and the windows are open. I let things and people come in freely, and I will entertain anyone who enters my room. But I, for sure, will not come out of that room. The room is open but the mental barrier is there.

A Little Debate About Love and Commitment

A week after thanksgiving, we had a group discussion about Islam. To make it short, suddenly it become a debate of my commitments toward someone. Yes, it is about love. These are the questions, and my answer: If you guys love each other, why don't you just be in relationship? If we are in love, doesn't mean we MUST be in love. Being in relationship doesn't give any assurance that you are going to get married to each other. Most of my friends that are in relationship often ended up in failure, though a few (like one out of 50) still manage to maintain for 3-4 years. If you are ready to be in relationship, then you must be ready to get married. You give your commitment, attention and time for your partner, isn't it the same as married couple?* I never say being is relationship is wrong, but people who in relationship is the trouble. We always want the good thing (getting attention, sharing our love, etc) but always avoid the hard part (our responsibilities, commitment, et...