编写题解 2841: 大整数加法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int maxmine = 210; int a[maxmine…… 题解列表 2023年02月02日 0 点赞 0 评论 219 浏览 评分:0.0
C语言:三个数组+两个函数 解决问题【豆包改过的代码】 摘要:解题思路:【原代码是我写的,现在这个代码是豆包改的,和我原本想法细节上有出入,我就不解释了,直接分享代码吧】注意事项:参考代码:#include <stdio.h>#include <…… 题解列表 2025年03月01日 0 点赞 0 评论 265 浏览 评分:0.0
现代语言就是省事 摘要:解题思路:python默认输入为字符串,所以可以用字符串的方式处理数据注意事项:(一)题干中说明数据输入前有0,所以需要将0删除后,再做运算 (二)python底层实现支持大…… 题解列表 2023年01月06日 1 点赞 1 评论 419 浏览 评分:3.3
大整数加法的双向链表写法 摘要:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> struct lennum{ int num; struct l…… 题解列表 2023年11月22日 0 点赞 0 评论 105 浏览 评分:6.0
题解 2841: 大整数加法 (c++)string解题 摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream> using namespace std; string s1,…… 题解列表 2023年01月19日 1 点赞 0 评论 318 浏览 评分:9.0
java--study||O.o 摘要:参考代码:import java.math.BigInteger; import java.util.Scanner; public class Main { public static…… 题解列表 2024年01月16日 0 点赞 0 评论 325 浏览 评分:9.9
2841: 大整数加法(超详细解答) 摘要:解题思路:写了很久,要注意前导0和十进制的运算注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[201]={&#…… 题解列表 2024年10月31日 0 点赞 0 评论 360 浏览 评分:9.9
写题解 2841: 大整数加法,字符串与整型数组之间的转化 摘要:解题思路:由于本题的输入为两个不超过200位的整数,int类型、long int类型以及long long int类型所支持的最大输入数并不能满足这类大整数之间的加法计算,基于以上背景,只能将输入整数…… 题解列表 2024年09月12日 0 点赞 0 评论 277 浏览 评分:9.9
大整数加法 摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us…… 题解列表 2024年08月15日 0 点赞 0 评论 171 浏览 评分:9.9
2841: 大整数加法 摘要:```cpp #include using namespace std; struct hp { int len; int s[1000]; }; void init(string…… 题解列表 2024年08月05日 0 点赞 0 评论 190 浏览 评分:9.9