0_0_32077372_17234.cpp:18:2: error: expected initializer before 'if'
if(len <= 0) return c4 == X && c7 == Y;
^
0_0_32077372_17234.cpp:19:2: error: expected unqualified-id before 'if'
if(!flag && dp[len][c4][c7] != -1) return dp[len][c4][c7];
^
0_0_32077372_17234.cpp:20:12: error: 'flag' was not declared in this scope
int end = flag ? bits[len] : 9;
^
0_0_32077372_17234.cpp:20:24: error: 'len' was not declared in this scope
int end = flag ? bits[len] : 9;
^
0_0_32077372_17234.cpp:22:2: error: expected unqualified-id before 'for'
for(int i=0;i<=end;i++)
^
0_0_32077372_17234.cpp:22:14: error: 'i' does not name a type
for(int i=0;i<=end;i++)
^
0_0_32077372_17234.cpp:22:21: error: 'i' does not name a type
for(int i=0;i<=end;i++)
^
0_0_32077372_17234.cpp:31:2: error: expected unqualified-id before 'if'
if(!flag)
^
0_0_32077372_17234.cpp:33:5: error: expected unqualified-id before 'return'
return res;
^
0_0_32077372_17234.cpp:34:1: error: expected declaration before '}' token
}
^
|