#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main()
{
     int t,n;
     while(scanf("%d",&n),n) 
     {
         t=n&(-n);
         printf("%d\n",t);                        
     }   
     //system("pause");
     return 0;
}

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2021-08-04
  • 2021-08-16
  • 2021-04-16
  • 2021-04-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-01-14
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案