成绩排序(水题) ```c#include#includestructstu{charname[200];inta,b;};intmain(){structstust[1001],t;intn,i,j;while(~scanf("%d",&n)){for(i=0;ist[j+1].a){t=st[j];st[j]=st 题解列表 2023年01月19日 0 点赞 0 评论 487 浏览 评分: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 评论 474 浏览 评分:0.0
C语言训练-排序问题<2>(水题) ```c#include#includeintcmp(constvoid*a,constvoid*b){return*(int*)b-*(int*)a;}intmain(){inta[11],i;for(i=0;i 题解列表 2023年01月19日 0 点赞 0 评论 503 浏览 评分: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 评论 534 浏览 评分:9.9
最小绝对值 摘要:num = list(map(int, input().split())) # 对原来十个数建立列表储存num1 = list(map(abs, num)) # 对原列表数绝对值储存sum = 0…… 题解列表 2023年01月18日 0 点赞 0 评论 506 浏览 评分: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 评论 424 浏览 评分:0.0
每日打卡题目 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e7 + 5;int arry[N];int main…… 题解列表 2023年01月18日 0 点赞 0 评论 501 浏览 评分:0.0
1352: Matrix67的派对 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int n, k; int h…… 题解列表 2023年01月18日 0 点赞 0 评论 708 浏览 评分: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 评论 854 浏览 评分:9.9
蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct Complex{ int imag; int real…… 题解列表 2023年01月18日 0 点赞 0 评论 506 浏览 评分:0.0