Solution for MONEY
c1 = {(S,E,N,D,M,O,R,Y)? ?8 | 0?S,…,Y?9 }
c2 = {(S,E,N,D,M,O,R,Y)? ?8 |
1000*S + 100*E + 10*N + D
+ 1000*M + 100*O + 10*R + E
= 10000*M + 1000*O + 100*N + 10*E + Y}
c3 = {(S,E,N,D,M,O,R,Y)? ?8 | S ? 0 }
c4 = {(S,E,N,D,M,O,R,Y)? ?8 | M ? 0 }
c5 = {(S,E,N,D,M,O,R,Y)? ?8 | S…Y all different}
Solution: (9,5,6,7,1,0,8,2)? ?8