1420 - 猜灯谜(2013决赛C/C++B组第1题)
Time Limit : 1 秒
Memory Limit : 128 MB
<span style="font-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;font-size:24pt;">A </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></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-family:宋体;color:black;font-size:24pt;">请猜谜</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-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;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></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> </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-family:宋体;color:black;font-size:24pt;">请猜谜</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-size:24pt;"><span>•</span></span><span style="font-family:Arial;color:black;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:宋体;color:black;font-size:24pt;">注意:只提交一个</span><span style="font-family:Arial;color:black;font-size:24pt;">3</span><span style="font-family:宋体;color:black;font-size:24pt;">位的整数,不要写其它附加内容,比如:说明性的文字。</span><span style="font-family:Arial;color:black;font-size:24pt;"> </span>
Input
Output
Examples
Input
Output
Source
蓝桥杯-历届试题