No, that doesn't work
網頁
Home
Showing posts with label
Grey Code
.
Show all posts
Showing posts with label
Grey Code
.
Show all posts
Wednesday, 16 June 2010
Grey Code
scanf("%d",&n); for (int i=0;i<(1<<n);i++) printf("%d\n",i^(i>>1));
霸氣。
Older Posts
Home
Subscribe to:
Posts (Atom)