You are given that Shrek is love and Shrek is life Thus, Love is life don't you agree? But let's make this more mathematical shall we? We are given the equation L O V E + I S = L I F E . How many different combinations are there for this equation?
Details and Assumptions
Each distinct letter stands for a distinct number.
The first digit of a number cannot be 0.
As long as one alphabet stands for a different number than another combination, it is considered a new combination.
Example: 2 9 4 + 8 0 = 3 7 4 and 2 9 6 + 8 0 = 3 7 6 are 2 different combinations (of course, not for this equation).
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Actually, what you given,
"Shrek is love." ∧ "Shrek is life." → "Love is life."
is not true.
Counterexample,
"Cat meows." ∧ "Cat likes Samuraiwarm." → "Samuraiwarm meows."
is not true...meow....oops.
Log in to reply
Something is true. That statement is something. Therefore, that statement is true. He did not use any other verb than the linking verb is. Have a good day.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
conta=420
Sorry for the bash, here is the easiest and really untidy program, an obvious one, but that gives us the answer...
One sure thing, that we conclude s = 0 and thus, all other variables are non-zero.
1 2 3 4 5 6 7 8 |
|
Then we ask for len(li) and the answer is 4 2 0
At least you should think of the easy digits like S = 0 only, to make the program run faster. =__="
From your footsteps,
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
4 2 0
Problem Loading...
Note Loading...
Set Loading...
Here're some restrictions for this problem.
Let's start counting! (sorry for brute force here)
Total = 2 1 combinations.
So we have 5 numbers left for L and E because O , I , V , F , S used it.
Therefore, the number of ways = 2 1 × ( 2 5 ) × 2 ! = 4 2 0 combinations!!!
"Shrek is love. Shrek is life."
One of the deepest motto of the world that Adele could roll in it.