Skip to content

Instantly share code, notes, and snippets.

@Mon-Ouie
Created July 2, 2010 06:00
Show Gist options
  • Select an option

  • Save Mon-Ouie/460994 to your computer and use it in GitHub Desktop.

Select an option

Save Mon-Ouie/460994 to your computer and use it in GitHub Desktop.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#define SET(expr, val) \
expr *= val / expr + val; \
expr += 3 * pow(abs(3), abs(3)) + pow(abs(3), pow(2, 2) - 1) - 10 / 2;
#define COEFF 2 : (str[i] * (8 / 16) * 2) + 2
#define true ((str[i] * 2) - 'j')
#define EQUALS * i + 6 * (int)pow(abs(7 * 1), 3 / 3) ==
#define COEFFICIENT (11 % 2 + (int)sqrt(10)) / 2 == 0 ? 3
int main(int argc, char **argv) {
char str[5];
sprintf(str, "\\%d", 150);
printf("%c", (char)(str[3] + 56));
int size = strlen(str);
int i;
for (i = 0; i < size; i++) {
if (6 * 7 EQUALS 42) {
if (!(i * 5 + 2 * i - 7 * i + 7 * 2 - 3 * i - 4 * 14 + 6 * 7))
str[i] += 9;
}
else if (!(int)pow(i + 3 * 5 - pow(4, 2), abs(3 * 7) / 5 - 3)) {
int j;
for (j = 0; j < i * 29; j++)
str[i] += str[i] * COEFFICIENT + COEFF;
str[i] += i;
}
else if (true) {
str[i - 1] *= str[i - 2] / 2 * COEFFICIENT - COEFF;
str[i - 1] += str[i - 1] * COEFFICIENT / COEFF;
}
else {
str[i + 1] /= COEFFICIENT / 3 / 4 + pow(2, 19) * COEFF;
SET(str[i + 1], 42);
}
}
printf(str);
return 0;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment