Skip to main content
3 of 4
edited body
l4m2
  • 32.5k
  • 2
  • 27
  • 116

C (gcc), 176 bytes, score 14 main(){}prtf&+

#define f(c,d)for(k=c+1;k--;)printf(#d); n;k;g(){f(n,main)}main(c){for(;c=~getchar(g());puts("(printf(&a))){}}")){f(,(a){)f(c+38?-2-c:9507,if(++a))puts("if(");g(++n);}f(,(){})} 

Try it online!

Try Generated online!

Excluding \n as printable ASCII, otherwise puts => printf

l4m2
  • 32.5k
  • 2
  • 27
  • 116