0_0_37907918_3715.cpp: In function 'int main()':
0_0_37907918_3715.cpp:15:84: error: expected ':' before ']' token
for(int j=1;j<=n;j++) dp[t][j]=(dp[t^1][i+w>n?i+w-n:i+w]+dp[t^1][i-w<1?i-w+n?i-w])/2;
^
0_0_37907918_3715.cpp:15:84: error: expected primary-expression before ']' token
0_0_37907918_3715.cpp:15:84: error: expected ':' before ']' token
0_0_37907918_3715.cpp:15:84: error: expected primary-expression before ']' token
|