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