« first day (3032 days earlier)      last day (1797 days later) » 

12:35 AM
0
Q: Basic coding question

Daniel HernandezI just starting a coding class. The first question they asked was "Your code should expect one input. All you need to do is add 12 to it and output the result." How would I write this code? I know it may be simple but I have never written any code before.

0
Q: Draw a typhoon made of '#' character

ThomasH.AllenI recently encounter a programming problem as following: Define a function that take in one integer argument (calling it n, n will be larger or equal to 3), then print out a whirl that made of n line, directed toward the center in counter clock-wise manner. Each line is drawn by drawing '#'s h...

 
12:46 AM
2
A: Sandbox for Proposed Challenges

MilkyWay90code-golfnumber To exponential digit growth and beyond! Challenge Given a base \$1 < b < 10\$ and an index \$t \ge 1\$, output term \$x_t\$, defined as follows: \$x_1 = 11_{10}\$ \$x_{i+1}\$ is obtained by converting \$x_i\$ to base \$b\$ and then reinterpreting its digits in base \$10\$ Out...

Should I post this now?
 
 
3 hours later…
4:14 AM
0
A: Sandbox for Proposed Challenges

Redwolf ProgramsKnights and Knaves and Codes (WIP) king-of-the-hill In this challenge, your bot has landed on an island with the stereotypical knights and knaves. Knights always tell the truth, and knaves always lie. The objective is to find the correct 32 digit hexadecimal string before anyone else, while try...

 
 
4 hours later…
8:25 AM
@primo Just saw that brainfuck is on codegolf.io . Just checking, are all your solutions hard-coded?
 
 
4 hours later…
12:17 PM
0
Q: Split into three!

rv7 Given a string, you've to split it into groups of three characters (by padding _ at the end). Related, but still it's different. Sample I/O: 'abcde' -> ['abc', 'de_'] '1234' -> ['123', '4__'] '' -> [] 'Three spree!' -> ['Thr', 'ee ', 'spr', 'ee!'] Note: Output is restricted to ...

 
1:07 PM
@JoKing most, not all
 
 
7 hours later…
7:43 PM
-1
Q: Programming challenge

Robert KWe recently started a data science community within our company. To get everyone warmed up, we want to set out some sort of programming / data science coding challenge. This can for example be a titanic-like challenge or a noise-signal classification problem. We would like this to be not too diff...

 
8:41 PM
1
Q: Surface of the 3x3x3 cube as a graph

jimmy23013Your task is to generate a graph with 54 vertices, each corresponds to a facet on a Rubik's cube. There is an edge between two vertices iff the corresponding facets share a side. Rules You may choose to output an adjacency list, adjacency matrix, edge list, or any reasonable format to represen...

 
 
2 hours later…
10:42 PM
weird VSL golfing tip: (UInt8[]::s)[0] to get the charcode of the 4th character of a string
 
10:54 PM
remove U to save 1 byte potentially
 
0
Q: Knights and Knaves and Codes

Redwolf ProgramsIn this challenge, your bot has landed on an island with the stereotypical knights and knaves. Knights always tell the truth, and knaves always lie. The objective is to find the correct 32 digit hexadecimal string before anyone else, by asking knights and knaves and trying to trick other bots int...

 
2
A: Sandbox for Proposed Challenges

MilkyWay90code-golfnumber To exponential digit growth and beyond! Challenge Given a base \$1 < b < 10\$ and an index \$t \ge 1\$, output term \$x_t\$, defined as follows: \$x_1 = 11_{10}\$ \$x_{i+1}\$ is obtained by converting \$x_i\$ to base \$b\$ and then reinterpreting its digits in base \$10\$ Out...

Repost
 
11:17 PM
0
Q: To exponential digit growth and beyond!

MilkyWay90Challenge Given a base \$1 < b < 10\$ and an index \$t \ge 1\$, output term \$x_t\$, defined as follows: \$x_1 = 11_{10}\$ \$x_{i+1}\$ is obtained by converting \$x_i\$ to base \$b\$ and then reinterpreting its digits in base \$10\$ Output should be in base \$10\$ A walk through for base 5, ...

 
11:50 PM
Should chatrooms for KoTHs be created along with the challenge, or as soon as it becomes popular?
Assuming it becomes popular...
Fingers crossed
 

« first day (3032 days earlier)      last day (1797 days later) »