Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 3 characters in body
Source Link
gastropner
  • 4.5k
  • 1
  • 17
  • 20

C (gcc), 62(削除) 62 (削除ここまで) 60 bytes

-2 thanks to GPS

f(n){writeputs(1,"autocasecharelseenumgotolongvoidint do  ",do"+40-4*n);}

Try it online! Try it online!

I mean... there was never any requirement to actually separate the keywords.

In case I misread - or you're more interested in something more in the spirit of the question - here's an alternate version with separating spaces:

C (gcc), 7269 bytes

f(n){writeputs(1,"auto case char else enum goto long void int do  ",do"+50-5*n);}

Try it online! Try it online!

C (gcc), 62 bytes

f(n){write(1,"autocasecharelseenumgotolongvoidint do  ",4*n);}

Try it online!

I mean... there was never any requirement to actually separate the keywords.

In case I misread - or you're more interested in something more in the spirit of the question - here's an alternate version with separating spaces:

C (gcc), 72 bytes

f(n){write(1,"auto case char else enum goto long void int do  ",5*n);}

Try it online!

C (gcc), (削除) 62 (削除ここまで) 60 bytes

-2 thanks to GPS

f(n){puts("autocasecharelseenumgotolongvoidint do"+40-4*n);}

Try it online!

I mean... there was never any requirement to actually separate the keywords.

In case I misread - or you're more interested in something more in the spirit of the question - here's an alternate version with separating spaces:

C (gcc), 69 bytes

f(n){puts("auto case char else enum goto long void int do"+50-5*n);}

Try it online!

Source Link
gastropner
  • 4.5k
  • 1
  • 17
  • 20

C (gcc), 62 bytes

f(n){write(1,"autocasecharelseenumgotolongvoidint do ",4*n);}

Try it online!

I mean... there was never any requirement to actually separate the keywords.

In case I misread - or you're more interested in something more in the spirit of the question - here's an alternate version with separating spaces:

C (gcc), 72 bytes

f(n){write(1,"auto case char else enum goto long void int do ",5*n);}

Try it online!

AltStyle によって変換されたページ (->オリジナル) /