题解 1129: C语言训练-排序问题<2>
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
extern int a = 0;
extern int b = 0;
extern int c = 0;
extern in……
巧用sort函数实现从大到小的排序输出!!
摘要:解题思路:用sort函数实现数组的从小到大排序,在逆序输出。使用sort函数需要导入头文件<algorithm>注意事项:参考代码:#include<iostream>using namespace ……
吾乃元始天尊!!!1129: C语言训练-排序问题<2>
摘要:```cpp
#include
using namespace std;
int main()
{
int a[10];
for(int i=0;i……
排序问题<2>(sort偷懒,简单代码)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
#include<algorithm>
int main()
{
int……
C语言训练-排序问题<2>
摘要: #include
using namespace std;
int main()
{
int a[10];
for(int i=0;i>a……
C语言训练-排序问题<2>_指针
摘要: #include
int main()
{
int a[10],*p=a;
int i,j,tmp;
for(i=0;……