Top new questions this week:
|
|
The Factorial Number System, also called factoradic, is a mixed radix numeral system. The factorials determine the place value of a number.
In this system, the right most digit can be either 0 or 1, …
|
|
The Problem: Count the number of holes in a connected polygon. Connectivity of the polygon is guaranteed by the condition that every triangle in the input triangulation shares at least 1 side with …
|
|
Write a self-contained program which when given a polynomial and a bound will find all real roots of that polynomial to an absolute error not exceeding the bound.
Constraints
I know that Mathematica …
|
|
Your mission, should you choose to accept it, is to input a series of point pairs that form a graph, like this:
A,B C,A B,A A,D A,E F,G C,G
You must then output an ASCII visualization of the …
|
|
The primorial of a number is the product of all the primes till that number, itself included.
Input a number from STDIN and evaluate its primorial.
Don't use libraries. Shortest code wins.
|
|
Pascal's Pyramid is an extension of Pascal's Triangle to the third dimension. Starting with a 1 as the apex, the elements of each successive layer can be determined by summing the three numbers that …
|
|
Your mission, even if you don't accept it, is to input three numbers from STDIN or file:
5 0.5 6
What you must do is evaluate this:
(5a + 0.5b)^6
This basically means that the first two …
|
Greatest hits from previous weeks:
|
|
Your challenge is to write a code-golf HTTP server that accepts GET requests. It obviously doesn't have to be fully featured, but it must serve files from a directory.
Rules:
The HTTP server must …
|
|
This question has been spreading like a virus in my office. There are quite a variety of approaches:
Print the following:
1
121
12321
1234321
123454321
12345654321
…
|