Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

66%
+2 −0
Challenges 8 coexisting queens

Japt -R, 16 15 bytes Uses spaces for #s and "s for Qs. ##Ë64ì £QùXÄÃy Test it (footer reformats the output to use the characters from the spec) This one uses 1s for #s. ##Ë64ì £#ÿ¤hXQ ...

posted 1y ago by Shaggy‭  ·  edited 1y ago by Shaggy‭

Answer
#5: Post edited by user avatar Shaggy‭ · 2022-10-02T20:47:52Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • -----
  • This one uses `1`s for `#`s.
  • ##Ë64ì £#ÿ¤hXQ
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjI/%2bkaFhR&footer=rnJRJ1EgcjEnIw) (footer as above)
  • -----
  • ##Ë64ì £QùXÄÃy
  • ##Ë64 :15720364
  • ì :To digit array
  • £ :Map each X
  • Q : Quotation mark
  • ù : Left pad with spaces to length
  • XÄ : X+1
  • Ã :End map
  • y :Transpose (which pads with spaces)
  • :Implicit output joined with newlines
  • <!---->
  • ##Ë64ì £#ÿ¤hXQ
  • ##Ë64ì £ :As above
  • #ÿ : 255
  • ¤ : To binary string
  • hXQ : Replace the character at index X with "
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • -----
  • This one uses `1`s for `#`s.
  • ##Ë64ì £#ÿ¤hXQ
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjI/%2bkaFhR&footer=rnJRJ1EgcjEnIw) (footer as above)
  • -----
  • ##Ë64ì £QùXÄÃy
  • ##Ë64 :15720364
  • ì :To digit array
  • £ :Map each X
  • Q : Quotation mark
  • ù : Left pad with spaces to length
  • XÄ : X+1
  • Ã :End map
  • y :Transpose (which pads with spaces)
  • :Implicit output joined with newlines
  • <!---->
  • ##Ë64ì £#ÿ¤hXQ
  • ##Ë64ì £ :As above
  • #ÿ : 255
  • ¤ : To binary string
  • hXQ : Replace the character at index X with "
  • "But, Shaggy, why ... no, _how_ is that `15720364`?"
  • "Glad you asked! See this tip [here](https://codegolf.stackexchange.com/a/121263/58974)"
#4: Post edited by user avatar Shaggy‭ · 2022-09-30T15:02:33Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • ##Ë64ì £QùXÄÃy
  • ##Ë64 :15720364
  • ì :To digit array
  • £ :Map each X
  • Q : Quotation mark
  • ù : Left pad with spaces to length
  • XÄ : X+1
  • Ã :End map
  • y :Transpose (which pads with spaces)
  • :Implicit output joined with newlines
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • -----
  • This one uses `1`s for `#`s.
  • ##Ë64ì £#ÿ¤hXQ
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjI/%2bkaFhR&footer=rnJRJ1EgcjEnIw) (footer as above)
  • -----
  • ##Ë64ì £QùXÄÃy
  • ##Ë64 :15720364
  • ì :To digit array
  • £ :Map each X
  • Q : Quotation mark
  • ù : Left pad with spaces to length
  • XÄ : X+1
  • Ã :End map
  • y :Transpose (which pads with spaces)
  • :Implicit output joined with newlines
  • <!---->
  • ##Ë64ì £#ÿ¤hXQ
  • ##Ë64ì £ :As above
  • #ÿ : 255
  • ¤ : To binary string
  • hXQ : Replace the character at index X with "
#3: Post edited by user avatar Shaggy‭ · 2022-09-30T13:20:43Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • ##Ë64ì £QùXÄÃy
  • ##Ë64 :15720364
  • ì :To digit array
  • £ :Map each X
  • Q : Quotation mark
  • ù : Left pad with spaces to length
  • XÄ : X+1
  • Ã :End map
  • y :Transpose (which pads with spaces)
  • :Implicit output joined with newlines
#2: Post edited by user avatar Shaggy‭ · 2022-09-30T13:17:10Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), 16 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • 4738#û6ì £QùX ú8
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=NDczOCP7Nuwgo1H5WCD6OA&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
  • # [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), <s>16</s> 15 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Uses spaces for `#`s and `"`s for `Q`s.
  • ##Ë64ì £QùXÄÃy
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=I50jyzY07CCjUflYxMN5&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)
#1: Initial revision by user avatar Shaggy‭ · 2022-09-30T13:02:08Z (over 1 year ago)
# [Japt](https://github.com/ETHproductions/japt) [`-R`](https://codegolf.meta.stackexchange.com/a/14339/), 16 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

Uses spaces for `#`s and `"`s for `Q`s.

    4738#û6ì £QùX ú8

[Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&flags=LVI&code=NDczOCP7Nuwgo1H5WCD6OA&footer=rnJRJ1EgclMnIw) (footer reformats the output to use the characters from the spec)