0_0_20338228_11932.cpp:2:1: error: 'LL' does not name a type
LL GetBit(LL x){
^
0_0_20338228_11932.cpp:11:1: error: 'LL' does not name a type
LL x[Max_N] , ans ;
^
0_0_20338228_11932.cpp:12:19: error: 'LL' has not been declared
void dfs(int id , LL n , LL f){
^
0_0_20338228_11932.cpp:12:27: error: 'LL' has not been declared
void dfs(int id , LL n , LL f){
^
0_0_20338228_11932.cpp: In function 'void dfs(int, int, int)':
0_0_20338228_11932.cpp:13:6: error: 'ans' was not declared in this scope
ans += ((LL)1<<GetBit(n)) * f ;
^
0_0_20338228_11932.cpp:13:15: error: 'LL' was not declared in this scope
ans += ((LL)1<<GetBit(n)) * f ;
^
0_0_20338228_11932.cpp:13:18: error: expected ')' before numeric constant
ans += ((LL)1<<GetBit(n)) * f ;
^
0_0_20338228_11932.cpp:15:19: error: 'x' was not declared in this scope
dfs(i , n&x[i] , -2*f) ;
^
0_0_20338228_11932.cpp: In function 'int main()':
0_0_20338228_11932.cpp:19:20: error: 'scanf' was not declared in this scope
scanf("%d" ,&T) ;
^
0_0_20338228_11932.cpp:23:30: error: 'x' was not declared in this scope
scanf("%I64d" ,&x[i]) ;
^
0_0_20338228_11932.cpp:24:10: error: 'ans' was not declared in this scope
ans = 0 ;
^
0_0_20338228_11932.cpp:26:22: error: 'x' was not declared in this scope
dfs(i , x[i] , 1) ;
^
0_0_20338228_11932.cpp:27:47: error: 'printf' was not declared in this scope
printf("Case #%d: %I64d\n" ,ca , ans) ;
^
|