3行:万花丛中过,片叶不沾身 摘要:```python a=int(input()) b=int(input()) print(a+b) ``` 因为我也曾经站在门外 女孩 我的故事因为你而展开 。。。。。。。 。。。…… 题解列表 2024年08月01日 0 点赞 1 评论 945 浏览 评分:0.0
给用Java的开一下荒土 摘要:解题思路:先倒叙,后数组,再转成int进行相加注意事项:参考代码:import java.util.Scanner; public class Main { public static vo…… 题解列表 2023年04月04日 0 点赞 0 评论 391 浏览 评分:0.0
编写题解 2841: 大整数加法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int maxmine = 210; int a[maxmine…… 题解列表 2023年02月02日 0 点赞 0 评论 370 浏览 评分:0.0
2841: 大整数加法 忽略前导0 摘要:## 大整数加法 ```c++ #include #include using namespace std; vector add(vectora,vectorb){ if(a.s…… 题解列表 2023年07月22日 0 点赞 0 评论 331 浏览 评分:0.0
详细解释 2841: 大整数加法 摘要:## 高精度加 会超出long long 运算类型的运算使用传统的方法无法计算 此时此刻就需要使用高精度运算进行这种大整数的运算 ```c++ string s1,s2; cin…… 题解列表 2024年11月04日 0 点赞 0 评论 440 浏览 评分:0.0
详细解释我的代码这么写的原因 摘要:解题思路: 定义两个字符串数组a1\a2 和两个整数数组b1\b2 还有存放他们的和的整数数组sum , 并且将他们全部初始化为0, 将a1\a2里面的每一个数字 按照分位从大到小 分开存…… 题解列表 2024年11月23日 1 点赞 0 评论 634 浏览 评分:0.0
C语言:三个数组+两个函数 解决问题【豆包改过的代码】 摘要:解题思路:【原代码是我写的,现在这个代码是豆包改的,和我原本想法细节上有出入,我就不解释了,直接分享代码吧】注意事项:参考代码:#include <stdio.h>#include <…… 题解列表 2025年03月01日 0 点赞 0 评论 693 浏览 评分:0.0
使用vector数组,能避免输出前导0 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<string>using namespace std;const int N=1e5…… 题解列表 2023年11月09日 0 点赞 0 评论 336 浏览 评分:0.0