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 40 characters in body
Source Link
Weijun Zhou
  • 3.7k
  • 15
  • 42

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far(削除) Shortest answer so far (削除ここまで) Not surprisingly beaten by Jelly. The string template provided in Stax is really neat and provides printf-like functions. The programs generated by the compiler are almost always as short as the best one can achieve by manually codegolfing, without using packing.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions. The programs generated by the compiler are almost always as short as the best one can achieve by manually codegolfing, without using packing.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

(削除) Shortest answer so far (削除ここまで) Not surprisingly beaten by Jelly. The string template provided in Stax is really neat and provides printf-like functions. The programs generated by the compiler are almost always as short as the best one can achieve by manually codegolfing, without using packing.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

added 133 characters in body
Source Link
Weijun Zhou
  • 3.7k
  • 15
  • 42

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions. The programs generated by the compiler are almost always as short as the best one can achieve by manually codegolfing, without using packing.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions. The programs generated by the compiler are almost always as short as the best one can achieve by manually codegolfing, without using packing.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

added 47 characters in body
Source Link
Weijun Zhou
  • 3.7k
  • 15
  • 42

Stax, 25+6+18+30=7923+5+17+29=74

ïf?≈1tâN↓ùKÑÿ⌐φ►§|8☺▒╨èî↑╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions.

The compiler itself is 2523 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m|+"mz`cc_+"m"mz`cc_?

Provided input [], generates this one (65 bytes)

mz0c_mzc_?

Run and debug it Run and debug it

Provided input [[1,"Golf"]], generates this one (1817 bytes)

mz _1%z"Golf"mz_1%z"Golf"?+c_?

Run and debug it Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (3029 bytes)

mz _3%z"Fizz"mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it Run and debug it

Stax, 25+6+18+30=79

ïf?≈1tâN↓ùKÑÿ⌐φ►§|8☺▒╨èî↑

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat.

The compiler itself is 25 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m|+"mz`cc_?

Provided input [], generates this one (6 bytes)

mz0c_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (18 bytes)

mz _1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (30 bytes)

mz _3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Stax, 23+5+17+29=74

╥╟.└ç╘SJ∞CF╔v=▌╝Σ@∞ìé«g

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat and provides printf-like functions.

The compiler itself is 23 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m"mz`cc_?

Provided input [], generates this one (5 bytes)

mzc_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (17 bytes)

mz_1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (29 bytes)

mz_3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Source Link
Weijun Zhou
  • 3.7k
  • 15
  • 42
Loading

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