0_0_27947632_21038.cpp: In function 'int main()':
0_0_27947632_21038.cpp:46:76: error: expected '}' at end of input
if(c[i]=='(') a1++; else a2++; if(a2>a1) {//任何子串都不能存在'('个数少于')' printf("%d\n",0); b=true; break; } } if(b) continue; if(a2>a1) { printf("%d\n",0); continue; } ll ans=(C(n-a1-a2,n/2-a1)+mod-C(n-a1-a2,n/2-a1-1))%mod; printf("%I64d\n",ans); } return 0;}
^
0_0_27947632_21038.cpp:46:76: error: expected '}' at end of input
0_0_27947632_21038.cpp:46:76: error: expected '}' at end of input
0_0_27947632_21038.cpp:46:76: error: expected '}' at end of input
|