提交记录 15760
| 提交时间 |
评测时间 |
| 2021-02-03 19:21:45 |
2021-02-03 19:21:47 |
#include<bits/stdc++.h>
typedef unsigned int u32;
using namespace std;
const int N=2.7e5+5;
u32 now,f[N+N],sf[N],pr[N],*p=f+N;
char s[N];
unsigned solve(int n,char *s) {
int n,i,j,lm=0;
p[0]=1;
for(i=0;i<n;p[-1]=0,i++)
if(s[i]=='(') p--;
else if(s[i]==')') p++;
else
{
u32 lp=min(i,n-i+1),lq,las=0;
for(j=i&1;j<=lp;j+=2) p[j]=p[j-1]+p[j+1];
}
return p[0]
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-20 07:37:49 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠