« first day (3417 days earlier)      last day (27 days later) » 

2:14 AM
0
A: Sandbox for Proposed Challenges

Mitchell SpectorPrint the SARS-Cov-2 (COVID-19) genome code-golf kolmogorov-complexity As you probably learned in biology class, DNA and RNA are composed of strands of nucleotides; each nucleotide consists of a chemical called a base together with a sugar and a phosphate group. The information is stored in the...

 
 
3 hours later…
5:11 AM
0
Q: Get the ISO 8601 time from a Discord snowflake

TwentyCharMaxA Discord ID (or snowflake) is a 64-bit number that identifies an action done on Discord. In most languages, the time the action took place can be obtained using (snowflake >> 22) + 1420070400000 to get the milliseconds since the Unix Epoch. Rules: Input can be in the code itself or as a comm...

 
 
7 hours later…
11:50 AM
0
Q: Build consecutive number ranges from an array

Alex2phpGiven an array of numbers [0,8,9,10,11,12,18,19,20] create ranges of consecutive numbers to have ranges: [0,0], [8,12], [18,20] I've wrote it, but i think my solution is stupidly long: let startHour = intUsualWorkingHours[0] intUsualWorkingHours.forEach((hour, index)=>{ le...

 
12:49 PM
0
A: Sandbox for Proposed Challenges

Level River StDraw NASA worm logo Introduction On 30 May 2020, NASA and SpaceX launched a manned rocket to the international space station on the SpaceX Demo 2 mission. This is the first time humans have been launched into orbit from American soil since the retiring of the Space Shuttle in 2011, and the firs...

 
 
1 hour later…
2:07 PM
@NewMainPosts a.filter((c,i)=>c!=a[i-1]+1).map((c,i)=>[c,a.filter((c,i)=>c!=a[i+1]-1)[i]])
 
 
3 hours later…
4:54 PM
1
Q: Draw the NASA worm logo

Level River StIntroduction On 30 May 2020, NASA and SpaceX launched a manned rocket to the international space station on the SpaceX Demo 2 mission. This is the first time humans have been launched into orbit from American soil since the retiring of the Space Shuttle in 2011, and the first time ever that a pr...

 
 
4 hours later…
8:49 PM
1
Q: Placing Dominoes On A Chequerboard

Jonathan AllanHow many ways can one place (unlabelled) dominoes on a square chequerboard such that the number placed horizontally is equal to the number placed vertically? The dominoes must align with, and may not protrude, the chequerboard and may not overlap. This is OEIS sequence A330658, 1, 1, 1, 23, 160...

 
 
1 hour later…
10:11 PM
0
A: Sandbox for Proposed Challenges

math junkiePi or Phi? Task Given a positive integer \$n\$ where \$n \geq 10\$ as input, determine whether \$n\$ occurs in the first 100 digits of pi (after the decimal), the first 100 digits of phi, or both. Reference "The first 100 digits" refers to the 100 digits after the decimal place in each number...

 
10:46 PM
0
Q: Which side has more?

nphThe challenge is to golf a program when given two comma-seperated strings of asterisks, say which side has more. The asterisk-strings can be empty. Output 0 if it is a tie. 1 if the left side has more. 2 if the right side has more. Examples Input: ***,**** Output: 2 Input: ***, Output: `1...

 

« first day (3417 days earlier)      last day (27 days later) »