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

deleted 2 characters in body
Source Link
ngn
  • 15.6k
  • 2
  • 45
  • 90

C (gcc), (削除) 75 74 (削除ここまで) 7470 bytes

-15 byte thanks to @ceilingcat

char*b=0;f*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46?*s=94,f(s+1),*s='v':0:puts(b);}

Try it online! Try it online!

requires the memory s points to to be writable

C (gcc), (削除) 75 (削除ここまで) 74 bytes

-1 byte thanks to @ceilingcat

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46?*s=94,f(s+1),*s='v':0:puts(b);}

Try it online!

requires the memory s points to to be writable

C (gcc), (削除) 75 74 (削除ここまで) 70 bytes

-5 byte thanks to @ceilingcat

*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46?*s=94,f(s+1),*s='v':0:puts(b);}

Try it online!

requires the memory s points to to be writable

added 40 characters in body
Source Link
ngn
  • 15.6k
  • 2
  • 45
  • 90

C (gcc), 75(削除) 75 (削除ここまで) 74 bytes

-1 byte thanks to @ceilingcat

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46&&(*s>46?*s=94,f(s+1),*s='v'):0:puts(b);}

Try it online! Try it online!

requires the memory s points to to be writable

C (gcc), 75 bytes

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46&&(*s=94,f(s+1),*s='v'):puts(b);}

Try it online!

requires the memory s points to to be writable

C (gcc), (削除) 75 (削除ここまで) 74 bytes

-1 byte thanks to @ceilingcat

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46?*s=94,f(s+1),*s='v':0:puts(b);}

Try it online!

requires the memory s points to to be writable

added 52 characters in body
Source Link
ngn
  • 15.6k
  • 2
  • 45
  • 90

C (gcc), 75 bytes

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46&&(*s=94,f(s+1),*s='v'):puts(b);}

Try it online!

requires the memory s points to to be writable

C (gcc), 75 bytes

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46&&(*s=94,f(s+1),*s='v'):puts(b);}

Try it online!

C (gcc), 75 bytes

char*b=0;f(char*s){b=b?b:s;*s?f(s+1),*s>46&&(*s=94,f(s+1),*s='v'):puts(b);}

Try it online!

requires the memory s points to to be writable

Source Link
ngn
  • 15.6k
  • 2
  • 45
  • 90
Loading

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