0_0_36464535_27553.cpp: In function 'bool c(int, int)':
0_0_36464535_27553.cpp:12:20: error: 'bool c(int, int)' redeclared as different kind of symbol
bool c(int op,int x){return op&(1<<(x-1));}
^
0_0_36464535_27553.cpp:10:7: note: previous declaration 'int c'
int n,c,a[1001],dp[1001][101][32],can[32][32];
^
0_0_36464535_27553.cpp: In function 'int main()':
0_0_36464535_27553.cpp:27:14: error: 'c' cannot be used as a function
if(c(op,i))
^
0_0_36464535_27553.cpp:28:4: error: expected primary-expression before '}' token
}
^
0_0_36464535_27553.cpp:30:11: error: 'i' was not declared in this scope
dp[1][a[i]]=1;
^
|