Go语言中文网 为您找到相关结果 4

pku1047 Round and Round We Go

题目链接:pku1047 hdu1313 tzc1086方法:大数乘法 大数乘小数代码://tzc1086 hdu1313 //注意string与cstring的不同 //string类定义的是主要是运算符重载, //而cstring类相当于string.h,包含的是strlen的函数 #include #include #include #include using namespace std; void mult(char c[],char t[],int m) { int i,l,k,flag,add=0; char s[100]; l=strlen(c); for (i=0;i阅读全文

博文 2015-12-22 03:00:01 honesty2008

大数加一,16进制,除了模拟还有什么好的方法了吗??

模拟代码