E. 中位数
中位数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
给定一个长度为 的非负整数序列 ,对于前奇数项求中位数。
输入格式
第一行一个正整数 。
第二行 个正整数 。
输出格式
共 行,第 行为 的中位数。
7
1 3 5 7 9 11 6
1
3
5
6
7
3 1 5 9 8 7 6
3
3
5
6
提示
对于 的数据,;
对于 的数据,;
对于 的数据,,。
【A班】线段树NOIP级
- Status
- Done
- Problem
- 33
- Open Since
- 2025-10-22 0:00
- Deadline
- 2025-11-28 23:59
- Extension
- 24 hour(s)