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
75%
+4 −0
Challenges Evaluate a single variable polynomial equation

Japt, 12 bytes ÊÆgX *VpXÃr+ Loops through the range of integers 0 to n-1, calculates each term, and sums. Try it

posted 4y 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 Ratio limits of fibonacci-like series

APL (Dyalog Classic), 7 bytes ⎕+∘÷⍣=1 Well, rak is probably not going to answer this, so I might as well ;p Try it online!

posted 4y 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 4y 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 4y 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 4y ago by Quintec‭

Answer
71%
+3 −0
Challenges Longest Increasing Subsequence

Given an array of numbers, output the length of the longest increasing (not necessarily contiguous) subsequence. It is guaranteed that there are no duplicates in the array. For example, if the inpu...

4 answers  ·  posted 4y ago by Quintec‭  ·  edited 3y ago by General Sebast1an‭

Question code-golf
71%
+3 −0
Meta How should we handle incorrect answers?

Recently a flag came to my attention on this post: https://codegolf.codidact.com/posts/280372/281943#answer-281943 It is a well-intentioned answer to the challenge, but unfortunately it is wrong, ...

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

71%
+3 −0
Challenges Find the IP address class

Japt, 26 25 bytes ;Bg4mUqL În10,2 ùT8 qT Îl Try it Long and unwieldy, I'm rusty. Looks at the first 0 in the bitstring of the first octet.

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

Answer
71%
+3 −0
Q&A Tips for golfing in Java

Use higher versions of Java Seriously, it's crazy what sort of features have been added since Java 8. I hardly recognize the language anymore... Examples: Constructing Lists Before, you had to ...

posted 3y ago by Quintec‭

Answer
71%
+3 −0
Challenges Three Number Monte

The Rules In this game, each round, every player faces off against every other player in a round robin format. In each match, players pick 3 positive integers that sum to 360. Let's say player 1 p...

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

71%
+3 −0
Challenges Really Cool Numbers

Define a cool number as a number whose proper divisors (all except for the number itself) have an integral mean. Define a really cool number as a number whose divisors (including itself) are all co...

3 answers  ·  posted 3y ago by Quintec‭  ·  last activity 3y ago by user‭

Question code-golf math
71%
+3 −0
Challenges 1, 2, Fizz, 4, Buzz!

Japt -R, 28 bytes Lõ@"Fizz"pXv3)+"Buzz"pXv5)ªX I spent a long time playing with wizardry string/array slicing. It did not work out. This solution just repeats "Fizz" and "Buzz" if divisible. T...

posted 4y ago by Quintec‭

Answer
71%
+3 −0
Challenges The Camelot Wheel

Given a musical key, output its number and letter on the Camelot Wheel (shown below). Input A musical key as a string, as shown on the wheel. The words "Sharp" and "Flat" may be replaced with s...

2 answers  ·  posted 4y ago by Quintec‭  ·  edited 3y ago by General Sebast1an‭

Question code-golf
71%
+3 −0
Challenges Reverse an ASCII string

Laser, 9 bytes c⌜ps \U# My own language's showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters. ...

posted 4y ago by Quintec‭  ·  edited 4y ago by manassehkatz‭

Answer
71%
+3 −0
Challenges Weave Strings Together

Japt -P, 7 2 bytes Õc Takes input as character arrays. -5 bytes thanks to @Shaggy Try it

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

Answer
66%
+2 −0
Challenges Cumulative Counts

Japt, 14 11 8 bytes £¯YÄ è¥X Try it -3 bytes thanks to @Shaggy

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

Answer
66%
+2 −0
Challenges The Pell Numbers

APL (Dyalog Classic), 20 18 17 16 bytes ⊢/,+.×⍣⎕⍨∘.+⍨⌽⍳2 Matrix implementation, requires ⎕IO←0. Thanks to @Razetime for the idea, -3 bytes by me Try it online! APL (Dyalog Classic), 19 18 byt...

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

Answer
66%
+2 −0
Challenges "Hello, World!"

Japt, 11 bytes `HÁM, WŽld! Just using Japt's builtin compression. Test it

posted 4y ago by Quintec‭

Answer
66%
+2 −0
Meta Default Rules: Random

What is random defined as on this site? How are answers allowed to handle random chance?

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

Question default-rules
66%
+2 −0
Challenges The Pell Numbers

Python 3, 39 bytes f=lambda x:x if x<2else 2*f(x-1)+f(x-2) Generic recursive implementation Try it online!

posted 4y ago by Quintec‭

Answer
66%
+2 −0
Challenges Three Number Monte

The "Uppers" def oneup(data, history): if len(history) > 0: prev = history[-1] if prev[2] > 1: better = [prev[0] + 1, prev[1] + 1, prev[2] - 2] elif prev[1] > 1: better...

posted 3y ago by Quintec‭

Answer
66%
+2 −0
Challenges My house is destroyed! Can you make me one?

Canvas, 9 7 bytes #*⌐⤢n↔n -2 bytes thanks to @Razetime Uh I don't really know how to use Canvas - what I think this does is create the vertical wall, then half the horizontal one, then concatn...

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

Answer
66%
+2 −0
Challenges Expand a polynomial

Japt -Q, 15 12 bytes à üÊËx_×*JpE -3 bytes thanks to @Shaggy Uses Vieta's. Try it

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

Answer
66%
+2 −0
Challenges Can you give me half?

Japt, 1 byte ½ Test it Jelly, Vyxal, 1 byte . Try it online! Yeah, golf langs still kind of kill this challenge.

posted 3y ago by Quintec‭

Answer