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

ATO links
Source Link
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.Attempt This Online!

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

Attempt This Online!

No questionable constants.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

No questionable constants.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

Attempt This Online!

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

Attempt This Online!

No questionable constants.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result
It will actually be on 2.1.9
Source Link
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

No questionable constants. Note: this requires Thunno 2.0.8+, and when Thunno 2 gets added to ATO, it will be on 2.0.6. Change ʋ4ȥæÞ to ’4ȥæÞ’ for compatability with any version of Thunno 2.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

No questionable constants. Note: this requires Thunno 2.0.8+, and when Thunno 2 gets added to ATO, it will be on 2.0.6. Change ʋ4ȥæÞ to ’4ȥæÞ’ for compatability with any version of Thunno 2.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

No questionable constants.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result
Saved a byte on the second answer
Source Link
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, 18 (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£ɦı35d×ばつJn|£

No questionable constants. Note: this requires Thunno 2.0.8+, and when Thunno 2 gets added to ATO, it will be on 2.0.6. Change ʋ4ȥæÞ to ’4ȥæÞ’ for compatability with any version of Thunno 2.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ’4ȥæÞ’ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, 18 bytes

ɦı35d×ばつJn|£

No questionable constants.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ’4ȥæÞ’ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result

Thunno 2 N, 11 bytes

ɦık+Ḋkg×ばつJn|

I'll add an ATO link when Thunno 2 gets added to ATO.

Add a trailing £ if you want it flagless.

Thunno 2, (削除) 18 (削除ここまで) 17 bytes

ɦı35d×ばつJn|£

No questionable constants. Note: this requires Thunno 2.0.8+, and when Thunno 2 gets added to ATO, it will be on 2.0.6. Change ʋ4ȥæÞ to ’4ȥæÞ’ for compatability with any version of Thunno 2.

Explanation

ɦık+Ḋkg×ばつJn| # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 k+ # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 kg # Push ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 # N flag joins by newlines
 # Implicit output
ɦı35d×ばつJn|£ # Full program
ɦ # Push 100
 ı # Map over [1..100]:
 35d # Push [3, 5]
 Ḋ # Divisible by [3, 5] (vectorises)
 ʋ4ȥæÞ # Push compressed string "FizzBuzz"
 1⁄2 # Split in half to get ["Fizz", "Buzz"]
 ×ばつ # Multiply element-wise
 J # Join by nothing
 n| # Logical OR with the number
 £ # Print the result
Added another answer
Source Link
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76
Loading
Source Link
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76
Loading

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