题解 1219: 数列排序

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

数列排序 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; while(n-……

1219: 数列排序

摘要:```cpp #include #include #include using namespace std; int main() { std::ios::sync_with_s……

数列排序python

摘要:解题思路:注意事项:比第一个数字小的在左边,大的在右边,但并没有排序参考代码:n = int(input())for i in range(n):    L = list(map(int,input(……

Kanna-数列排序-C++

摘要:#### 注意事项:见注释 #### 思路:利用双数组,这样就不需要取交换值 #include using namespace std; int mai……

题解 1219: 数列排序

摘要:### 解题思路 根据题目的输出格式, 输入的时候, 将比K1小的数存进栈(先进后出),将比K1大的数存进队列(先进先出); 输出的时候按照顺序输出栈里的元素、K1和队列里的元素 ### ……

数列排序C++

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int a[1000000], b[1000000];int main(){ int n; ……