Skip to content

Instantly share code, notes, and snippets.

@Inndy
Created July 18, 2018 12:57
Show Gist options
  • Select an option

  • Save Inndy/1e32822802ca5517924009458d1825c2 to your computer and use it in GitHub Desktop.

Select an option

Save Inndy/1e32822802ca5517924009458d1825c2 to your computer and use it in GitHub Desktop.
#include <stdio.h>
// 1 2 3 simple math
#define x (argc / 12 % (3 * (1 + 2)) + 3 - 1 + 2 - 3)
#define y (argc / 12 / 3 / (1 + 2) + 3 - 1 + 2 - 3)
#define z x * y
int main(int argc, char *argv[])
{
return argc > 970 /* can't afford 1080 :( */ ? 0 :
main(printf("%d x %d = %2d%2c", x, y, z, x == 9 ? '\n' : ' ') + argc, 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment