赞
踩
密码算数谜题是一种用字母书写的等式。其中每个字母代表个0~ 9的数字,且不同的字母代表不同的数字。例如:
SEND + MORE = MONEY
该谜题的一个解为: S=9,R=8,0=0,M=1, Y=2,E=5, N=6, D=7。
编写相关的程序解决如下的密码算数谜题:
TOO + TOO+TOO+TOO= GOOD
#include <iostream>
using namespace std;
int main(){
int t,o,g
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。