/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d",&n);
               ^
/in/foo.cc:7:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  while(scanf("%d",&tmp)!=EOF) cp=(cp^(1<<(tmp-1)));
                       ^
/in/foo.cc:8:24: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__enable_if<true, double>::__type {aka double}' [-Wformat=]
  printf("%d",log2(cp)+1);
                        ^