提交记录 15760


用户 题目 状态 得分 用时 内存 语言 代码长度
Yukikaze_ wc2017b3. 【WC2017】挑战-任务3 Compile Error 0 0 ns 0 KB C++11 405 B
提交时间 评测时间
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]
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-20 07:37:49 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠