Post History
Vyxal, 9 bytes ×»∇ḂẆ»f꘍§ Try it Online! Uses spaces for empty and asterisks for queen. Add a › at the end to replace spaces with zeros. ×»∇ḂẆ»f꘍§ »∇ḂẆ»f # 13572064 as a list of digits × ...
Answer
#6: Post edited
- # [Vyxal](https://github.com/Vyxal/Vyxal), 9 bytes
- ```
- ×»∇ḂẆ»f꘍§
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLDl8K74oiH4biC4bqGwrtm6piNwqciLCIiLCIiXQ==)
Uses spaces for empty and asterisks for queen. Add a `›` at the end to replace spaces with zeros.
- # [Vyxal](https://github.com/Vyxal/Vyxal), 9 bytes
- ```
- ×»∇ḂẆ»f꘍§
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLDl8K74oiH4biC4bqGwrtm6piNwqciLCIiLCIiXQ==)
- Uses spaces for empty and asterisks for queen. Add a `›` at the end to replace spaces with zeros.
- ```
- ×»∇ḂẆ»f꘍§
- »∇ḂẆ»f # 13572064 as a list of digits
- × ꘍ # For each, prepend that many spaces to an asterisk
- § # Vertical join: transpose filling with spaces, and join on newlines
- ```
#5: Post edited
# [Vyxal](https://github.com/Vyxal/Vyxal), 10 bytes- ```
»∇ḂẆ»f×$꘍§- ```
[Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu+KIh+G4guG6hsK7ZsOXJOqYjcKnIiwiIiwiIl0=)- Uses spaces for empty and asterisks for queen. Add a `›` at the end to replace spaces with zeros.
- # [Vyxal](https://github.com/Vyxal/Vyxal), 9 bytes
- ```
- ×»∇ḂẆ»f꘍§
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLDl8K74oiH4biC4bqGwrtm6piNwqciLCIiLCIiXQ==)
- Uses spaces for empty and asterisks for queen. Add a `›` at the end to replace spaces with zeros.
#4: Post edited
# [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes- ```
»¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋- ```
[Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu8Ks4ouPwrbhuo7Cu2Z2w57HlHbhuKLDnuG4nuG5heKBiyIsIiIsIiJd)```»¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋»¬⋏¶Ẏ» # Compressed number 47382516f # Convert to list of digitsvÞǔ # For each, untruth: Create a list with a 1 at that (0-based index).vḢ # Remove the first element of eachÞḞ # Pad with zeros at the end of each to make the matrix rectangularṅ⁋ # Concatenate each and join on newlines```This should be 14 bytes without a [bug](https://github.com/Vyxal/Vyxal/issues/1450).
- # [Vyxal](https://github.com/Vyxal/Vyxal), 10 bytes
- ```
- »∇ḂẆ»f×$꘍§
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu+KIh+G4guG6hsK7ZsOXJOqYjcKnIiwiIiwiIl0=)
- Uses spaces for empty and asterisks for queen. Add a `›` at the end to replace spaces with zeros.
#3: Post edited
- # [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu8Ks4ouPwrbhuo7Cu2Z2w57HlHbhuKLDnuG4nuG5heKBiyIsIiIsIiJd)
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- »¬⋏¶Ẏ» # Compressed number 47382516
- f # Convert to list of digits
- vÞǔ # For each, untruth: Create a list with a 1 at that (0-based index).
- vḢ # Remove the first element of each
- ÞḞ # Pad with zeros at the end of each to make the matrix rectangular
- ṅ⁋ # Concatenate each and join on newlines
```
- # [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu8Ks4ouPwrbhuo7Cu2Z2w57HlHbhuKLDnuG4nuG5heKBiyIsIiIsIiJd)
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- »¬⋏¶Ẏ» # Compressed number 47382516
- f # Convert to list of digits
- vÞǔ # For each, untruth: Create a list with a 1 at that (0-based index).
- vḢ # Remove the first element of each
- ÞḞ # Pad with zeros at the end of each to make the matrix rectangular
- ṅ⁋ # Concatenate each and join on newlines
- ```
- This should be 14 bytes without a [bug](https://github.com/Vyxal/Vyxal/issues/1450).
#2: Post edited
- # [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- ```
[Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu8Ks4ouPwrbhuo7Cu2Z2w57HlHbhuKLDnuG4nuG5heKBiyIsIiIsIiJd)
- # [Vyxal](https://github.com/Vyxal/Vyxal), 16 bytes
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- ```
- [Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLCu8Ks4ouPwrbhuo7Cu2Z2w57HlHbhuKLDnuG4nuG5heKBiyIsIiIsIiJd)
- ```
- »¬⋏¶Ẏ»fvÞǔvḢÞḞṅ⁋
- »¬⋏¶Ẏ» # Compressed number 47382516
- f # Convert to list of digits
- vÞǔ # For each, untruth: Create a list with a 1 at that (0-based index).
- vḢ # Remove the first element of each
- ÞḞ # Pad with zeros at the end of each to make the matrix rectangular
- ṅ⁋ # Concatenate each and join on newlines
- ```