摘要:
题目描述 给出一个长度为NN的非负整数序列A_iA i ,对于所有1 ≤ k ≤ (N + 1) / 21≤k≤(N+1)/2,输出A_1, A3, …, A{2k - 1}A 1 ,A 3 ,…,A 2k−1 的中位数。即前1,3,5,…1,3,5,…个数的中位数。 输入输出格式 阅读全文
摘要:
Power Strings Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 64676 Accepted: 26679 Description Given two strings a and b we define a*b to 阅读全文
摘要:
题目描述 The N (2 <= N <= 10,000) cows are so excited: it's prom night! They are dressed in their finest gowns, complete with corsages and new shoes. They 阅读全文