Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
不考算法,考阅读的一道题~注意这句话: The horizontal line is always as long as necessary to reach the left and right end of both numbers (and operators) right below and above it. 分割线的长度问题花了我三个WA,注意分割线的长度只和与它上下相邻的那两个数的左端右端的位置有关(和再上面的以及再下面的就没关系了),比如: 101 *1 --- 101 1 *101 ---- 1 0 1 --- 101 99 *99 --- 891 891 ---- 9801 算法上N^2的高精度乘法就能过了。另外,b只有一位数时,下面直接就是结果,不用把每位乘积都打印出来了。总结:这题很无聊,但确实考验人的仔细程度~ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator