1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int main() { i…… 题解列表 2022年10月09日 0 点赞 0 评论 88 浏览 评分:0.0
1025-数组插入处理 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10],n; for(int i=0;i<9;i++) …… 题解列表 2022年10月05日 0 点赞 0 评论 166 浏览 评分:0.0
单元素插入数组问题 摘要:解题思路: 由于本题元素个数较少,我们不妨对插入后的数组调用sort()函数进行排序操作,从而直接输出该数组(最简单的一种方法,易于操作)注意事项: sort函数的头文件为#include<algor…… 题解列表 2022年07月30日 0 点赞 0 评论 115 浏览 评分:0.0
1025: [编程入门]数组插入处理 C++版 摘要:解题思路:冒泡排序注意事项:参考代码:#include<iostream>using namespace std;long long a[15],z;int main(){ for(int i=1;i…… 题解列表 2022年06月19日 0 点赞 0 评论 159 浏览 评分:0.0
1025: [编程入门]数组插入处理(用复杂的方法解决简单的问题) 摘要:解题思路:先将n插入数组,再将其用冒泡排数排好即可。注意事项:注意是从小到大的顺序~~~参考代码:#include<bits/stdc++.h> using namespace std; int …… 题解列表 2022年05月29日 0 点赞 0 评论 311 浏览 评分:9.9
[编程入门]数组插入处理 摘要:#include<bits/stdc++.h>using namespace std;long long a[800000];int main(){ for(int i=1;i<=10;i++) c…… 题解列表 2022年05月17日 0 点赞 1 评论 714 浏览 评分:9.9
[编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15],z;int main(){ for(int i=1…… 题解列表 2022年05月11日 0 点赞 0 评论 330 浏览 评分:9.9
数组插入处理 题解(sort简单易懂) 摘要:解题思路:这题就跟排序差不多,用sort就欧了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a[55];int main(){…… 题解列表 2022年05月08日 0 点赞 0 评论 137 浏览 评分:0.0
[编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main(void){ vector<int> arr; in…… 题解列表 2022年05月06日 0 点赞 0 评论 122 浏览 评分:0.0
指针训练(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int *p=new int[10]; int *p1=p…… 题解列表 2022年04月12日 0 点赞 0 评论 214 浏览 评分:0.0