### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Challenges

# Posts tagged base

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

4 posts
60%
+1 −0

Given an integer $N$ in balanced quinary, output the first $N$ characters of your source code if $N$ is positive, or the last $-N$ characters of your source code if $N$ is negative. Terminology ...

1 answer  ·  posted 4mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

Question code-golf quine base
71%
+3 −0

Given a positive integer as input, indicate which base from 2 to 16 gives the most holes in the representation of the input in that base. The digits used are 0123456789ABCDEF. Note that these incl...

6 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by Razetime‭

Question code-golf base
71%
+3 −0

Take an input string representing a number and convert it to decimal (base 10). However, the base of the input is not specified. Assume the input is in the smallest base for which its digits are va...

5 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by Shaggy‭

75%
+4 −0

Inspired by this Rosetta Code article. Introduction Balanced Ternary is a method of representing integers using -1, 0 and 1 in base 3. Decimal 11 = (1 * 32) + (1 * 31) + (−1 * 30) = [1,1,-1] or ...

3 answers  ·  posted 1y ago by Razetime‭  ·  last activity 1y ago by Moshi‭

Question code-golf number base
Featured
Hot Posts

This community is part of the Codidact network. We have other communities too — take a look!