#include int f(int x) { if(x==0) return printf("0"); bool flag=false; for(int i=30;i>=0;i--) if(x&(1<