#include using namespace std; int f(int x) { int nr=0; while(x>0) { nr++; x&=(x-1); } return nr; } int cauta(int x) { for(int i=31;i>=0;i--) if(x&(1<