You are viewing a single comment's thread. Return to all comments →
#include <stdio.h> int main(){ long long int n,m=1; scanf("%lld",&n); while(n>0){ if(n%2==0)m*=2; n/=2; } printf("%lld\n",m); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Sum vs XOR
You are viewing a single comment's thread. Return to all comments →