/* Reproduce prime_cut2.c on stdout. Compare to generate_prime_cut3.c, this version also hashes the '*' character so that it's easier to enclose the generator inside block comments. */ #include int I = 8, i; void O(const char *c) { const char *o[] = { "/C/B", "define", "#include", "#if", "#endif", "ndefA", "PSA0P#uU", "R", "SUoPB", "P#uUO", "#QA_AD", "PintAmain(void){returnAputs(_)<0;}", }; while( (i = *c++) ) i > 32 ? i > 79 && i < 92 ? O(o[i - 80]), 0 : putchar(i > 64 && i < 69 ? (i ^ 91) * 22 % 54 : i) : 0; } int main(void) { for(O("/CBZoneDPXXWPW"); I < 9973; O(i < I++ ? "B" : "P")) { for(i = 2; i < I && I % i; i++); } O("/C/ZcompositeDBPSU_BZprimeDBT/P#QAoPPRA__FILE__BSA!Qd(o)&&Qd(O)V_BZ?DBPT/C/T/P/C/T/[[/PTPTYYPSA__LINE__==9994Vo/PT/CBTP#QAO/P"); return 0; }