Skip to content

Instantly share code, notes, and snippets.

@balepc
Created November 29, 2013 15:40
Show Gist options
  • Save balepc/7707481 to your computer and use it in GitHub Desktop.
Save balepc/7707481 to your computer and use it in GitHub Desktop.
#176
#include <iostream>
int main(){long a[]={2274496290,5437130806,16770403370,9136506914,9253832738};for(long b:a){for(int j=34;j;)putchar(b&1l<<--j?'*':'.');putchar('\n');}}
@karpelcevs
Copy link

Works with gcc on OS X, 142 symbols:

long i,x,a[]={9253832738,9136506914,16770403370,5437130806,2274496290};main(){for(i=5;i--;puts(""))for(x=35;x;putchar(a[i]&1L<<--x?'#':'.'));}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment