水題
来源:互联网 发布:图片缩小软件 编辑:程序博客网 时间:2024/06/07 02:13
#include<stdio.h>
#include<math.h>
#include<algorithm>//sort()函数的头文件
using namespace std;
int main()
{
int a[100];
for(int i=0;i<5;i++)
{
scanf("%d",&a[i]);
}
sort(a,a+5);//用sort()从小到大排序
printf("%d %d",a[0],a[4]);
}
阅读全文
0 0
- 水題
- python2.7基于selenium的web自动化测试项目--customer
- 解决C3P0在Linux下Failed to get local InetAddress for VMID问题
- Word2vec基础介绍(四):CBOW和skip-gram模型
- 机器学习之:决策树(Decision Tree)
- 【修真院“善良”系列之十七】请拿好这支时间之箭
- 水題
- Android SDK platforms build-tools等镜像下载
- struts2_part01
- 关于安装TortoiseSVN. msi 报错 2503 2502错误
- mysql 导入导出数据库
- 修改tomcat命令窗口的名字
- 第一次写博客,请多多关照!
- 如何学习好Javascript,需戒骄戒躁
- 如何做一个对账系统