字符串对比,100%通过!!! 摘要:解题思路:注意事项:参考代码:a = input()b = input()if len(a) != len(b): print(1)elif a == b: print(2)elif a.…… 题解列表 2023年01月19日 0 点赞 0 评论 313 浏览 评分:0.0
题解 2841: 大整数加法 (c++)string解题 摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream> using namespace std; string s1,…… 题解列表 2023年01月19日 1 点赞 0 评论 565 浏览 评分:9.0
成绩排序(水题) 摘要:```c #include #include struct stu{ char name[200]; int a,b; }; int main(){ struct …… 题解列表 2023年01月19日 0 点赞 0 评论 321 浏览 评分: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 评论 306 浏览 评分: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 评论 308 浏览 评分: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 评论 363 浏览 评分:9.9
最小绝对值 摘要:num = list(map(int, input().split())) # 对原来十个数建立列表储存num1 = list(map(abs, num)) # 对原列表数绝对值储存sum = 0…… 题解列表 2023年01月18日 0 点赞 0 评论 308 浏览 评分: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 评论 259 浏览 评分:0.0
每日打卡题目 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int main…… 题解列表 2023年01月18日 0 点赞 0 评论 307 浏览 评分:0.0
1352: Matrix67的派对 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int n, k; int h…… 题解列表 2023年01月18日 0 点赞 0 评论 485 浏览 评分:0.0