当前位置:网站首页>华为0基金会——图片整理
华为0基金会——图片整理
2022-07-06 10:19:00 【全栈程序员站长】
大家好,又见面了,我是全栈君。
源程序:
#include<iostream>
#include<string>
using namespace std;
//const int max=1024;
int main()
{
char s[1024];
char temp;
gets(s);
int len;
len=strlen(s);
for(int i=0;i<len;i++)
{
for(int j=i+1;j<len;j++)
{
if(s[i]>s[j])
{
temp=s[i];s[i]=s[j];s[j]=temp;
}
}
}
puts(s);
return 0;
}执行结果:
总结:非常easy~0基地称号~
版权声明:本文博客原创文章,博客,未经同意,不得转载。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/117396.html原文链接:https://javaforall.cn
边栏推荐
猜你喜欢

Getting started with pytest ----- test case rules

带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities

1700C - Helping the Nature

Implementation of queue

std::true_ Type and std:: false_ type

【.NET CORE】 请求长度过长报错解决方案

30 minutes to understand PCA principal component analysis

从交互模型中蒸馏知识!中科大&美团提出VIRT,兼具双塔模型的效率和交互模型的性能,在文本匹配上实现性能和效率的平衡!...

Pytest learning ----- pytest operation mode and pre post packaging of interface automation testing

阿里云国际版ECS云服务器无法登录宝塔面板控制台
随机推荐
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
关于这次通信故障,我想多说几句…
J'aimerais dire quelques mots de plus sur ce problème de communication...
ASEMI整流桥DB207的导通时间与参数选择
Release of the sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
推荐好用的后台管理脚手架,人人开源
二分(整数二分、实数二分)
Ms-tct: INRIA & SBU proposed a multi-scale time transformer for motion detection. The effect is SOTA! Open source! (CVPR2022)...
【Swoole系列2.1】先把Swoole跑起来
带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities
Rb157-asemi rectifier bridge RB157
微信小程序中给event对象传递数据
Why should Li Shufu personally take charge of building mobile phones?
D binding function
30 分钟看懂 PCA 主成分分析
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
当保存参数使用结构体时必备的开发技巧方式
转载:基于深度学习的工业品组件缺陷检测技术
std::true_type和std::false_type
Insert dial file of Jerry's watch [chapter]