poj 2388
来源:互联网 发布:淘宝psn点卡会被ban吗 编辑:程序博客网 时间:2024/06/04 00:26
代码如下
#include<cstdio>#include<iostream>#include<cstring>#include<algorithm>using namespace std;int main(){int n;scanf("%d",&n);int a[10005];for(int i=0;i<n;i++)scanf("%d",&a[i]);sort(a,a+n);printf("%d\n",a[n/2]);}
阅读全文
0 0
- poj 2388
- POJ 2388
- POJ-2388
- poj 2388
- poj.2388
- poj-2388
- poj 2388
- poj 2388
- POJ 2388
- POJ 2388
- poj 2388
- POJ 2388 水题
- POJ 2388(中位数)
- POJ 2388(nth_element)
- poj 2388中位数
- POJ 2388 解题报告
- POJ 2388(快速排序)
- poj 2388 insert sorting
- 【爬虫】BeautifulSoup解析网页
- 存储过程
- 注释及不同语言中的注释
- 逻辑思维1
- petalinux 2015.4&& 2016.2安装指南
- poj 2388
- JavaWeb学习 Session
- JAVA 8函数式编程(五):收集器详解与自定义实现
- css hack 学习总结
- jQuery的简单实用
- 自己封装跨浏览器事件添加和删除函数
- JQuery EasyUI-datagrid用法,行编辑模式
- SpringMvc 拦截器介绍
- JRebel for IDEA