JBEMRA × PTPMIR = IBSMTBRERMAS
Given above is a mathematical expression in base 1 0 . The expression is written in some alien language where each digit is replaced with a particular letter.
Find the number associated with EABMRPSTJIRB
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.
@Aditya Raut 's algorithm.
Log in to reply
Yeah right! I use just the same in all such problems.... in this problem, it took 18 seconds to answer....
@Pranjal Jain you don't have to import * from math or itertools, you'll have to import just "permutations" from itertools. The multiplication use of Asterisk (*) is inbuilt in python, so it'll do that even if you import just permutations and nothing else...
Log in to reply
I agree there is no use to import math, but I usually import math (always) in case I need some basic functions somewhere. Same with itertools, and laziness also,
len('*')<len('permutations')
Lol XD
Log in to reply
Hey wait!!!! NO! You have to import that asterisk(*) as well as permutations (from itertools) if you go by what you had previously written (b4 edit)
So `
len('*') < len('permutations')
is a sentence of no use, though it meant about typing number of characters :P ...
Anyways, I have edited it out.
Here is the genetic algorithm code I used to solve this problem:
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
|
1 2 3 4 5 |
|
Problem Loading...
Note Loading...
Set Loading...
Returns
926754018356