Skip to main content

Questions tagged [code-challenge]

A code challenge is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other scoring tags (e.g. code-golf).

4 votes
1 answer
187 views

Given a wall maze of 50x50, exactly same generating algorithm, at different RNG, so every two positions are connected by exactly one path, etc. Write two functions: One takes the maze as input and ...
l4m2's user avatar
  • 32.5k
18 votes
3 answers
993 views

Here is a game: Start with the set {1,2,3,...,n} of natural numbers. At any turn of the game, you may pick two numbers from this set, a and b, then replace them with their product a*b. Since it is a ...
Fabius Wiesner's user avatar
6 votes
2 answers
332 views

from Latexmk: If you use cross-references, you often have to run LaTeX more than once ... Sometimes cross-referenced locations change and you need to run LaTeX again to create the correct reference. ...
InQβ's user avatar
  • 453
4 votes
8 answers
934 views

I am interested in the following problem: What is the minimum number of distinct characters used in any programming language that can implement Boolean Algebra? In particular, what is the set that ...
dnn25519's user avatar
  • 169
3 votes
1 answer
303 views

CHALLENGE This problem has a math background. For n=1,2,3,4 we want to count the number of families of sets with maximum n elements that satisfy many criteria of the form: $$\bigoplus_{k\in A,A\in \...
Fabius Wiesner's user avatar
22 votes
2 answers
2k views

The task is to find parameters that make a fast leap year check correct for the widest range of years. We assume the Proleptic Gregorian calendar, which extends the Gregorian calendar backward from ...
Falk Hüffner's user avatar
3 votes
2 answers
553 views

Output \$20\$ float64s with absolute value between 1 and 2 inclusive whose sum has the largest possible relative error. We can assume the true sum is not zero. The sum is to be computed from left to ...
Simd's user avatar
  • 3,167
-3 votes
5 answers
400 views

Introduction This is a small challenge I came up with while trying to make some compact code for my younger brother to use. I don't think it's particularly interesting, but I believe it presents some ...
Mel's user avatar
  • 109

15 30 50 per page
1
2 3 4 5
61