Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. interface Solution{
  2. static void main(String[]_)throws Exception{
  3. for(int a,b,c=2,d=0;(a=System.in.read())>10;)
  4. for(b=7;b-->0;)
  5. System.out.print(c==(c=a>>b&1)?0:(d++>0?" ":"")+(c<1?0:"")+"0 0");
  6. }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement