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 Presumptuous base conversion

Japt, 13 bytes Takes input as a character array. mnG ìUrÔÄ ªUl Try it mnG\nìUrÔÄ ªUl :Implicit input of character array U m :Map n : Convert from bas...

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

Answer
#6: Post edited by user avatar Shaggy‭ · 2022-09-20T15:46:41Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt), 13 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • mnG
  • ìUrÔÄ ªUl
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=bW5HCuxVctTEIKpVbA&input=WyI0IiAiNSIgIjMiXQ)
  • # [Japt](https://github.com/ETHproductions/japt), 13 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes input as a character array.
  • mnG
  • ìUrÔÄ ªUl
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=bW5HCuxVctTEIKpVbA&input=WyI0IiAiNSIgIjMiXQ)
  • mnG\nìUrÔÄ ªUl :Implicit input of character array U
  • m :Map
  • n : Convert from base
  • G : 16
  • \n :Reassign to U
  • ì :Convert from digit base
  • Ur : U reduced by
  • Ô : Maximum
  • Ä : Add 1
  • ª :Logical OR with
  • Ul :Length of U
#5: Post undeleted by user avatar Shaggy‭ · 2022-09-20T14:20:00Z (over 1 year ago)
#4: Post edited by user avatar Shaggy‭ · 2022-09-20T14:19:55Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt), 9 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes input as a character array.
  • mnG
  • ìUrÔÄ
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=bW5HCuxVctTE&input=WyI0IiwiNSIsIjMiXQ)
  • # [Japt](https://github.com/ETHproductions/japt), 13 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • mnG
  • ìUrÔÄ ªUl
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=bW5HCuxVctTEIKpVbA&input=WyI0IiAiNSIgIjMiXQ)
#3: Post deleted by user avatar Shaggy‭ · 2022-09-20T12:11:42Z (over 1 year ago)
#2: Post edited by user avatar Shaggy‭ · 2022-09-20T11:07:56Z (over 1 year ago)
  • # [Japt](https://github.com/ETHproductions/japt), 9 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • nUñ ÌnG Ä
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=blXxIMxuRyDE&input=IjQ1MyI)
  • # [Japt](https://github.com/ETHproductions/japt), 9 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • Takes input as a character array.
  • mnG
  • ìUrÔÄ
  • [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=bW5HCuxVctTE&input=WyI0IiwiNSIsIjMiXQ)
#1: Initial revision by user avatar Shaggy‭ · 2022-09-20T10:56:12Z (over 1 year ago)
# [Japt](https://github.com/ETHproductions/japt), 9 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

    nUñ ÌnG Ä

[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=blXxIMxuRyDE&input=IjQ1MyI)