
大数
bae_
趁着年轻,好好学习
展开
-
Multiply Strings leetcode 43
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-negative.经典的大数相乘问题: 1,从给定字符串最后一位开始操作,要弄清楚整个乘法的过程以及各进位的原创 2015-06-03 23:48:49 · 463 阅读 · 0 评论 -
HDOJ-1002大数相加
参考这篇:点击打开链接 Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains原创 2015-04-26 01:08:12 · 400 阅读 · 0 评论