Skip to main content
deleted 72 characters in body
Source Link
l4m2
  • 32.5k
  • 2
  • 27
  • 116

C (gcc), 176171 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("iff(",if\50);gg(++n);;f(,(printf(&a))\51{}})}f(,(){})} 

Try it online!

Try Generated online!Try it online!

Excluding \n as printable ASCII, otherwise puts => printfTry Generated online!

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

C (gcc), 171 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());){f(,(a){)f(c+38?-2-c:9507,if(++a))f(,if\50)g(++n);f(,(printf(&a))\51{}})}f(,(){})} 

Try it online!

Try Generated online!

edited body
Source Link
l4m2
  • 32.5k
  • 2
  • 27
  • 116

C (gcc), 176 bytes, score 1514 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

C (gcc), 176 bytes, score 15 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!

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

added 238 characters in body
Source Link
l4m2
  • 32.5k
  • 2
  • 27
  • 116

C (gcc), 183176 bytes, score 15 main(){}prtf&+

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

Try it online!Try it online!

Excluding \n as printable ASCII, otherwise puts => printfTry Generated online!

C (gcc), 183 bytes, score 15 main(){}prtf&+

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

Try it online!

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

C (gcc), 176 bytes, score 15 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!

Source Link
l4m2
  • 32.5k
  • 2
  • 27
  • 116
Loading