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 »

Posts by H_H‭

12 posts
66%
+2 −0
Challenges Reverse the bits in a Byte

Simple challenge: Read a byte, swap bit 7 with 0, 6 with 1, 5 with 2 and 4 with 3 and then output the byte. For example the byte 0b1001'1100 would turn into 0b0011'1001. Rules: Shortest code wi...

6 answers  ·  posted 1y ago by H_H‭  ·  last activity 1y ago by lovebuny‭

Question code-golf
66%
+2 −0
Challenges Is it part of the mandelbrot set?

Input is a number, you have to decide if it is part of the mandelbrot set or not, after at least 16 iterations. This is done by applying this formula: $z_n = z_{n-1}^2 + c$ repeatedly. $c$ is the ...

1 answer  ·  posted 1y ago by H_H‭  ·  last activity 1y ago by Arpad Horvath‭

Question code-golf
66%
+2 −0
Challenges Borromean coprimes

SageMath, 68 66 64 Byte. 62 if you don't count the m= g=gcd;m=lambda a,b,c:min(g(a,b),g(a,c),g(b,c))<2or g(g(b,c),a)>1 Returns False for borromean coprimes and True for all other natural ...

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

Answer
62%
+3 −1
Challenges Print the modular multiplicative inverse / virtual fractions

Goal Print the modular multiplicative inverse with a modulus of 65536 (or a higher exponent of 2) for odd numbers 1-97. Example output Print these values (or an extension of them): 1 43691 52...

1 answer  ·  posted 11mo ago by H_H‭  ·  last activity 10mo ago by isaacg‭

Question code-golf math
60%
+1 −0
Challenges Looping counter

C, 30 + 1-4 byte f(m){f(printf("%0*i\n",m,0));} Has this limitations: counter stops working at INT_MAX or at stack overflow. Needs a input value to indicate on which line we start. 0 starts...

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

Answer
60%
+1 −0
Sandbox Is it part of the mandelbrot set? [FINALIZED]

posted 1y ago by H_H‭  ·  edited 1y ago by trichoplax‭

60%
+1 −0
Meta Default minimum required precision and supported size for inputs

For challenges that require a input, what is the maximum a solution has to support, if not further specified by the challenge author? Lets say the input is a string, how long a string has to be ac...

0 answers  ·  posted 1y ago by H_H‭  ·  edited 2mo ago by trichoplax‭

60%
+1 −0
Challenges Single digit Roman numeral

C, 59 byte h(n){return n&4?n&2?5:n&1?1e3:n&8?50:500:n&2?100:n&1?1:10;} Old version, 60 byte: h(n){return n&4?n&2?5:n&1?1000:n&8?50:500:n&2?100:n&amp...

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

Answer
50%
+0 −0
Challenges Reverse an ASCII string

Brainfuck, 10 Bytes ,[>,]<[.<] Requires EOF to be 0. Try it online! ,[>,]<[.<] , # Read character [ ] # loop as long as current cell is not 0 (EOF) >, ...

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

Answer
50%
+0 −0
Meta Default Rules: Code Golf I/O

A program may use IOs for input and output. A input can be read via IO, which can be a port with (multiple) IOs each IO reads a symbol (a bit or more when you have a ADC). Or it can come from fram...

posted 1y ago by H_H‭

Answer
33%
+0 −2
Meta Default Rules: Code Golf I/O

A program may output a boolean value by using different amount of time or instructions till it returns. If a program needs to determine a boolean value, it may return in less than N second (or ins...

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

Answer