个人记录
括号匹配2
【题目描述】: cpp #include <stdio.h> #include <string.h> #include using namespace std; char str[300]; int f[300][300]; int flag[300][300]; int len…
24612
还没有收录这位用户的资料。
【题目描述】: cpp #include <stdio.h> #include <string.h> #include using namespace std; char str[300]; int f[300][300]; int flag[300][300]; int len…
【题目描述】 给出一个长度为N的非负整数序列AiA_iAi,对于所有1≤k≤(N+1)/21 ≤ k ≤ (N + 1) / 21≤k≤(N+1)/2,输出A1,A3,…,A2k−1A_1, A_3, …, A_{2k - 1}A1,A3,…,A2k−1的中位数。即前1,…