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 Quintec‭

63 posts
87%
+12 −0
Challenges Partial Sums of Harmonic Series

Given an positive integer $n$, return the least positive integer $k$ such that the $k$th partial sum of the harmonic series is greater than or equal to $n$. For example, if $n = 2$, then $k = 4$, b...

11 answers  ·  posted 3y ago by Quintec‭  ·  last activity 1y ago by south‭

Question code-golf
86%
+11 −0
Challenges Output 256 in many different ways

Japt, 10 11 13 15 solutions 256 Works as you would expect. 8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8--8 Subtracting negative numbers. 4**4...

posted 3y ago by Quintec‭  ·  edited 3y ago by Quintec‭

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

Functions may take input via arguments and output via return value Functions may also use STDIN/STDOUT as they wish.

posted 2y ago by Quintec‭  ·  edited 2y ago by General Sebast1an‭

Answer
84%
+9 −0
Meta Default Rules: Loopholes

What sort of loopholes are assumed to be disallowed in any challenge on this site? One loophole per answer, please. Vote up answers if you want them disallowed, and down otherwise.

13 answers  ·  posted 2y ago by Quintec‭  ·  last activity 2y ago by AndrewTheCodegolfer‭

Question default-rules
83%
+8 −0
Meta Should sandbox posts give rep?

Should sandbox posts give rep? On one hand, keeping this feature motivates more people to use the sandbox. On the other hand, allowing people to gain rep twice for the same content seems wrong in s...

3 answers  ·  posted 3y ago by Quintec‭  ·  last activity 2y ago by Monica Cellio‭

Question discussion
83%
+8 −0
Meta Default Rules: Code Golf I/O

Functions may use arguments or lists of arguments interchangeably For example, if a challenge requires defining f(x, y, z), f(a) is also acceptable where a[0] = x, a[1] = y, a[2] = z.

posted 2y ago by Quintec‭

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

You may output delimiter-separated values instead of a list For example, the output [1,2,3] could be represented as 1 2 3 or 1|2|3.

posted 2y ago by Quintec‭

Answer
83%
+8 −0
Challenges Solve Goldbach's Conjecture

Goldbach's Conjecture states that every even whole number greater than 2 is the sum of 2 prime numbers. Your task is to return those 2 prime numbers, given an even whole number as input. There are ...

10 answers  ·  posted 3y ago by Quintec‭  ·  last activity 2y ago by torres‭

Question code-golf math
83%
+8 −0
Meta Default Rules: Code Golf I/O

What input/output methods do you think should be allowed/disallowed while code golfing on this site? What guidelines for input/output methods do you think should be in place? One method per answer...

19 answers  ·  posted 2y ago by Quintec‭  ·  last activity 7mo ago by H_H‭

Question default-rules
81%
+7 −0
Meta How do we handle standardizing things?

This sounds like a great idea to me. To summarize how we can move forward on this: For the Codidact Team Create a new meta tag (defaults? name pending) that is one of the options for the requir...

posted 3y ago by Quintec‭  ·  edited 3y ago by Quintec‭

Answer
81%
+7 −0
Meta New solution to same challenge in same language: Change existing answer or add new one?

Make a new post If they are completely different solutions, I would say they should be judged separately.

posted 2y ago by Quintec‭

Answer
81%
+7 −0
Challenges Word Count Tool

In Google Docs, the word count tool looks like this: Pages would not make sense, but your goal is to implement every other count. Definitions Words are strings of text separated by any amount ...

9 answers  ·  posted 3y ago by Quintec‭  ·  last activity 2y ago by torres‭

Question code-golf string
80%
+6 −0
Meta Default Rules: Loopholes

Cat Quines Quines that simply output the source code due to some sort of implicit I/O, such as 1 in many languages.

posted 2y ago by Quintec‭

Answer
77%
+5 −0
Challenges Prime Difference

Given an integer n, output the smallest prime such that the difference between it and the next prime is at least n. For example, if n=5, you would output 23, since the next prime is 29, and 29-23&...

8 answers  ·  posted 3y ago by Quintec‭  ·  last activity 2y ago by radarek‭

Question code-golf
77%
+5 −0
Meta Is my extension-like library allowed to be used in answers?

Yes, including the fact that it's in C. Using a heading such as "C + BMPL" that links to the library and explains what it does should be fine. I also think that having a way to run it (preferably ...

posted 3y ago by Quintec‭

Answer
77%
+5 −0
Challenges Generate Lewis Caroll's Jabberwocky

Japt, 625 615 bytes `'T°s ߍ¦g, „d e sҐy ‘vƒ Did gyœ „d g‹½e ˆ e °¼; A¥ Úßy ØÀ e ޒgovƒ, A˜ e Ú  ÎÈs ŒtgŸ¼. ` +i` "BeØ e {=`Jab¼rwock`}, my s! T” jaws È ßÒ, e claws È ¯t®! BeØ e...

posted 3y ago by Quintec‭  ·  edited 2y ago by Quintec‭

Answer
77%
+5 −0
Meta How do we handle standardizing things?

Update: the meta tag is live, so we can start the posts. I have created a few here with a few sample answers, but the rest is up to the community! Make sure to vote on other answers as well as post...

posted 2y ago by Quintec‭  ·  edited 2y ago by Quintec‭

Answer
77%
+5 −0
Q&A What's a code bowling challenge?

It's the opposite of code golf. Code bowling is essentially a challenge where you try to write the longest code possible, as opposed to the shortest code. Now, this format comes with many issues, ...

posted 2y ago by Quintec‭

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

You may modify the input in-place If a function takes an input a, it is acceptable that a contains the intended output after executing instead of other forms of output. Note that this means a must...

posted 2y ago by Quintec‭  ·  edited 2y ago by Quintec‭

Answer
77%
+5 −0
Meta Reactions on Code Golf Codidact

Reactions were just released! See the main meta post here for the details. Currently, the default reactions look like this: Now, I would argue that none of these fit for Code Golf - so what rea...

4 answers  ·  posted 2y ago by Quintec‭  ·  last activity 2y ago by Lundin‭

Question discussion
77%
+5 −0
Challenges Print the Great Numeric Pyramid

Japt -R, 27 22 bytes 27òÈn28 ÇmX27-X-ZøÃÔû Test it Lots of credit goes to xnor for finding the min(i,j,27-i-j) trick. -5 bytes thanks to @Shaggy

posted 3y ago by Quintec‭  ·  edited 3y ago by Quintec‭

Answer
75%
+4 −0
Challenges Evens or Odds - you know this one

Japt, 1 byte u Japt, more like JABT (just another builtin) :P Try it

posted 3y ago by Quintec‭

Answer
75%
+4 −0
Challenges Reverse an ASCII string

Japt, 1 byte w Uh... yeah. Probably similar solutions for many other golf langs. Try it

posted 3y ago by Quintec‭

Answer
75%
+4 −0
Meta What is the Q&A category for?

It's for non-challenge questions. These might be general tips questions, questions about how to golf specific pieces of code, common golf paradigms, etc. Here are some examples from SE that might ...

posted 3y ago by Quintec‭

Answer
75%
+4 −0
Meta What are the rules of programming language compliance?

Regarding because the vast majority of all programs that were posted & highly up-voted there won't even compile on the most basic, compliant compiler for that language. Code Golf allows f...

posted 3y ago by Quintec‭

Answer