OLC CHALLENGE #40 - Golf An Octave
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GolfAnOctave/main.cpp

16 lines
674 B

#include <cstdint>
#include <cstdio>
int i;uint64_t f=0x4451111451,g=0x7DF01F7DF0,h=0x1041041040;char o[439];int main(){while(i<439)o[i++]=(i>=264&&i<307)?(g>>i%44&1)?'=':' ':(i%44==43)?'\n':(f>>i%44&1)?'|':' ';printf("%s",o);}
/*
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| ===== ===== | ===== ===== ===== |
| | | | | | | |
| | | | | | | |
| | | | | | | |
======^=====^=====^=====^=====^=====^======
*/