Post History
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...
Answer
#3: Post edited
- ## 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
## 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
## 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관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟