题解 2841: 大整数加法 (c++)string解题 摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream> using namespace std; string s1,…… 题解列表 2023年01月19日 1 点赞 0 评论 715 浏览 评分:9.0
成绩排序(水题) 摘要:```c #include #include struct stu{ char name[200]; int a,b; }; int main(){ struct …… 题解列表 2023年01月19日 0 点赞 0 评论 372 浏览 评分:0.0
绝对值排序(水题) 摘要:```c #include #include int main(){ int n,a[101],i,j,t; while(~scanf("%d",&n)&&n!=0){//这里的结尾…… 题解列表 2023年01月19日 0 点赞 0 评论 350 浏览 评分:0.0
C语言训练-排序问题<2>(水题) 摘要:```c #include #include int cmp(const void* a,const void* b){ return *(int *)b-*(int *)a; } …… 题解列表 2023年01月19日 0 点赞 0 评论 369 浏览 评分:0.0
初学树状数组 摘要:解题思路:树状数组注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=15005,M=32005;int a[N],b[M…… 题解列表 2023年01月18日 0 点赞 0 评论 412 浏览 评分:9.9
最小绝对值 摘要:num = list(map(int, input().split())) # 对原来十个数建立列表储存num1 = list(map(abs, num)) # 对原列表数绝对值储存sum = 0…… 题解列表 2023年01月18日 0 点赞 0 评论 381 浏览 评分:0.0
日常打卡1.18 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int reve…… 题解列表 2023年01月18日 0 点赞 0 评论 309 浏览 评分:0.0
每日打卡题目 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int main…… 题解列表 2023年01月18日 0 点赞 0 评论 384 浏览 评分:0.0
1352: Matrix67的派对 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int n, k; int h…… 题解列表 2023年01月18日 0 点赞 0 评论 592 浏览 评分:0.0
累加求和简短版 摘要:解题思路:注意事项:sum一定要初始化为0参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); int i; for(i=1;i…… 题解列表 2023年01月18日 0 点赞 0 评论 711 浏览 评分:9.9