题解 1392: 川哥的吩咐

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

全在代码中了

摘要:#include <string.h> #include <stdio.h> #include <stdlib.h> #include <math.h> int main() {  ……

川哥的吩咐-题解(C语言代码)

#include#includeintmain(){charx[1000],y[1000],z[1000]={0},x0[1000]={0};intdL,temp,memory=0,i;while(~scanf("%s%s",x,y))//{dL=strlen(y)-strlen(x);if(dL

川哥的吩咐-题解(C++代码)

```cpp#include#includeusingnamespacestd;voidbigAddAndPrint(stringa,stringb){intsum[1004],a1[1004]={0},b1[1004]={0};intmax=a.size()>b.size()?a.size():b.
优质题解

川哥的吩咐-题解(C语言代码)

解题思路:第一次写大数加法,希望看到这的能够帮助到你。首先我们要先了解大数加法首先我们用平常写的#includeintmain(){inta,b;while(scanf("%d%d",&a,&b)!=EOF)printf("%d\n",a+b);return0;}这样写是行不通的,
优质题解

高精度加法(C++代码)

**前言(可了解):**C++语言里最大的64位整数类型有``longlong``和``__int64``两种类型(VC还支持``__int64``),它们最多只能容纳不到20位数字,标准输出方式有``printf("%lld",x)``,``printf("%I64d",x)``和``cout

川哥的吩咐 (C语言代码)

摘要:解题思路:数组倒序累加法注意事项:倒序转换,在倒序输出用while(c[z]==0){    z--};来去除首位 的 0参考代码:#include<stdio.h>#include<string.h……