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 The holeyest base

Sclipting, (UTF-16) 86 bytes 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟 Explanation: Input n 標 갠 관上 for b from 2 to 16 가 s = 0 ① n' = n 要 while n' is not 0 ❶❹剩 x = n...

posted 2y ago by Moshi‭  ·  edited 2y ago by Razetime‭

Answer
#3: Post edited by user avatar Razetime‭ · 2022-10-03T15:52:22Z (about 2 years ago)
correct link to bytes
  • ## Sclipting, (UTF-16) [86 bytes][bytecount]
  • ```text
  • 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ```
  • Explanation:
  • ```text
  • Input n
  • 갠 관上 for b from 2 to 16
  • 가 s = 0
  • ① n' = n
  • 要 while n' is not 0
  • ❶❹剩 x = n' mod b
  • 걉눑감 byte array 00 00 01 00 10 01 01 10 00 01 00 01 00 00 00 01
  • ⓶重右 shift right by 2x
  • 갰雙 bitwise & with 0b11
  • ⓷加 add to s
  • ⓶❸分 n' = n' // b
  • ⓷棄
  • ❶訂乾 Get the max value
  • ⓶折❷同終長괐縮⒈棄丟 Get the index of the max value
  • ```
  • [bytecount]: ethproductions.github.io/bytes/?e=utf-16&t=標갠%20관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ## Sclipting, (UTF-16) [86 bytes][bytecount]
  • ```text
  • 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ```
  • Explanation:
  • ```text
  • Input n
  • 갠 관上 for b from 2 to 16
  • 가 s = 0
  • ① n' = n
  • 要 while n' is not 0
  • ❶❹剩 x = n' mod b
  • 걉눑감 byte array 00 00 01 00 10 01 01 10 00 01 00 01 00 00 00 01
  • ⓶重右 shift right by 2x
  • 갰雙 bitwise & with 0b11
  • ⓷加 add to s
  • ⓶❸分 n' = n' // b
  • ⓷棄
  • ❶訂乾 Get the max value
  • ⓶折❷同終長괐縮⒈棄丟 Get the index of the max value
  • ```
  • [bytecount]: https://ethproductions.github.io/bytes/?e=utf-16&t=標갠%20관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
#2: Post edited by user avatar Moshi‭ · 2022-10-01T00:07:21Z (about 2 years ago)
  • ## Sclipting, [86 bytes (UTF-16)][bytecount]
  • ```text
  • 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ```
  • Explanation:
  • ```text
  • Input n
  • 갠 관上 for b from 2 to 16
  • 가 s = 0
  • ① n' = n
  • 要 while n' is not 0
  • ❶❹剩 x = n' mod b
  • 걉눑감 byte array 00 00 01 00 10 01 01 10 00 01 00 01 00 00 00 01
  • ⓶重右 shift right by 2x
  • 갰雙 bitwise & with 0b11
  • ⓷加 add to s
  • ⓶❸分 n' = n' // b
  • ⓷棄
  • ❶訂乾 Get the max value
  • ⓶折❷同終長괐縮⒈棄丟 Get the index of the max value
  • ```
  • [bytecount]: ethproductions.github.io/bytes/?e=utf-16&t=標갠%20관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ## Sclipting, (UTF-16) [86 bytes][bytecount]
  • ```text
  • 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
  • ```
  • Explanation:
  • ```text
  • Input n
  • 갠 관上 for b from 2 to 16
  • 가 s = 0
  • ① n' = n
  • 要 while n' is not 0
  • ❶❹剩 x = n' mod b
  • 걉눑감 byte array 00 00 01 00 10 01 01 10 00 01 00 01 00 00 00 01
  • ⓶重右 shift right by 2x
  • 갰雙 bitwise & with 0b11
  • ⓷加 add to s
  • ⓶❸分 n' = n' // b
  • ⓷棄
  • ❶訂乾 Get the max value
  • ⓶折❷同終長괐縮⒈棄丟 Get the index of the max value
  • ```
  • [bytecount]: ethproductions.github.io/bytes/?e=utf-16&t=標갠%20관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
#1: Initial revision by user avatar Moshi‭ · 2022-09-30T03:11:30Z (about 2 years ago)
## Sclipting, [86 bytes (UTF-16)][bytecount]

```text
標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟
```

Explanation:

```text
Input n
標
갠 관上 for b from 2 to 16
    가 s = 0
    ① n' = n
    要 while n' is not 0
        ❶❹剩 x = n' mod b
        걉눑감 byte array 00 00 01 00 10 01 01 10 00 01 00 01 00 00 00 01
        ⓶重右 shift right by 2x
        갰雙 bitwise & with 0b11
        ⓷加 add to s
        ⓶❸分 n' = n' // b
    終
    ⓷棄
終
并
❶訂乾 Get the max value
⓶折❷同終長괐縮⒈棄丟 Get the index of the max value
```

[bytecount]: ethproductions.github.io/bytes/?e=utf-16&t=標갠%20관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟