Running Median_via牛客网
题目
链接:https://ac.nowcoder.com/acm/contest/28886/1002 来源:牛客网
时间限制:C/C++ 5秒,其他语言10秒 空间限制:C/C++ 65536K,其他语言131072K 64bit IO Format: %lld
题目描述
For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, output the median (middle value) of the elements received so far.
输入描述:
The first line of input contains a single integer P(1≤
共有 0 条评论