Skip to content

Instantly share code, notes, and snippets.

@cynthia
Created June 19, 2014 06:10
Show Gist options
  • Save cynthia/357f4b347db82eacac97 to your computer and use it in GitHub Desktop.
Save cynthia/357f4b347db82eacac97 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
#define CHUJMAC 100
int i = 1;
void (*jebana[2])();
void dupa();
void chuj();
int main()
{
jebana[0] = chuj;
jebana[1] = dupa;
dupa();
return 1; // Extra points if you come here
}
int kurwa(int j)
{
j |= j >> 16;
j |= j >> 8;
j |= j >> 4;
j |= j >> 2;
j |= j >> 1;
return j & 1;
}
void dupa()
{
printf("%d\n", i);
(*jebana[kurwa(i++ % CHUJMAC)])();
}
void chuj()
{
exit(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment