3 ms·
you can get rid of the !() if you reverse the ?: #define d printf( main(i){i<101?(i%3?0:d"Fizz"))|(i%5?0:d"Buzz"))?d"\n"):d"%d\n",i),main(i+1):0;}
by loumf 14y ago
you can get rid of the !() if you reverse the ?:
#define d printf(
main(i){i<101?(i%3?0:d"Fizz"))|(i%5?0:d"Buzz"))?d"\n"):d"%d\n",i),main(i+1):0;}
- nappy-doo 14y agoexcellent, missed that. :)