1423 - 三羊献瑞(2015蓝桥杯省赛第3题)

 

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:宋体;color:black;font-size:24pt;">观察下面的加法算式:</span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;font-size:24pt;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>祥 瑞 生 辉</span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;font-size:24pt;"><span>&nbsp; </span></span><span style="font-family:Arial;color:black;font-size:24pt;">+<span>&nbsp;&nbsp;</span></span><span style="font-family:宋体;color:black;font-size:24pt;">三 羊 献 瑞</span>

<span style="font-size:24pt;"><span>•&nbsp;&nbsp; </span></span><span style="font-family:Arial;color:black;font-size:24pt;">-------------------</span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;font-size:24pt;"><span>&nbsp;</span></span><span style="font-family:宋体;color:black;font-size:24pt;">三 羊 生 瑞 气</span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;font-size:24pt;">(</span><span style="font-family:宋体;color:black;font-size:24pt;">如果有对齐问题,可以参看</span><span style="font-family:宋体;color:black;font-size:24pt;">【</span><span style="font-family:宋体;color:black;font-size:24pt;">图</span><span style="font-family:Arial;color:black;font-size:24pt;">1.jpg】)</span>

<img alt="" src="http://tk.hustoj.com:80/attached/image/20150425/20150425074542_99426.jpg" /><span style="font-family:Arial;color:black;font-size:24pt;"></span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:宋体;color:black;font-size:24pt;">其中,相同的汉字代表相同的数字,不同的汉字代表不同的数字。</span>

<span style="font-family:Arial;color:black;font-size:24pt;"></span>

<span style="font-size:24pt;"><span>•</span></span><span style="font-family:宋体;color:black;font-size:24pt;">请你填写“三羊献瑞”所代表的</span><span style="font-family:Arial;color:black;font-size:24pt;">4</span><span style="font-family:宋体;color:black;font-size:24pt;">位数字(答案唯一),不要填写任何多余内容。</span>

输入

输出

样例

输入


                

输出


                

来源

蓝桥杯-历届试题

时间限制 1 秒
内存限制 128 MB
讨论 统计
上一题 下一题