fork download
  1. #include<stdio.h>
  2. main(N,L,B)
  3. {
  4. N=114067,L=B=N&1;
  5. while(N>>=1)B=(L=(N&1)?L+1:0)>B?L:B;
  6. return !printf("%d",B);
  7. }
  8.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
4