Main.cc: In function ‘int main()’:
Main.cc:13:39: error: ‘__popcount’ was not declared in this scope
cin>>n>>x,ans=((x>>1)<<1),cnt=__popcount(x);
^~~~~~~~~~
Main.cc:13:39: note: suggested alternative: ‘__llround’
cin>>n>>x,ans=((x>>1)<<1),cnt=__popcount(x);
^~~~~~~~~~
__llround