提交记录 15763
| 提交时间 |
评测时间 |
| 2021-02-03 19:24:28 |
2021-02-03 19:24:38 |
#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;
u32 solve(int n,char *s)
{
int 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+1,n-i),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 OK | Score: N/A | 显示更多 |
| Testcase #1 | 96.11 us | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #2 | 768.388 ms | 388 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #3 | 2.767 s | 700 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #4 | 3 s | 816 KB | Time Limit Exceeded | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-20 07:43:05 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠