Activity for Quintec
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: Weave Strings Together Japt `-P`, 7 2 bytes Õc Takes input as character arrays. -5 bytes thanks to @Shaggy Try it (more) |
— | over 3 years ago |
Answer | — |
A: Who should the temporary moderators be? With equally great hesitation, I'll also throw my hat in the ring if Jo King does not respond. (If he does, I'd rather Chris be the second moderator.) I was on the PPCG SE site for a relatively long time (couple of years) and know how things work. (I've had access to review queues, close votes, an... (more) |
— | over 3 years ago |
Answer | — |
A: 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 functions as answers. For example, this could be a Java hello world program, even though it obviously do... (more) |
— | over 3 years ago |
Article | — |
Point Game KOTH It's about time we have something other than code golf! KOTH time! A small simple game to get things started. Rules/Procedure Everyone starts each bracket with 100 in-game points. In each round of the bracket, you play against an opponent. The only information you are given is your opponent'... (more) |
— | over 3 years ago |
Answer | — |
A: 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. Test it (more) |
— | over 3 years ago |
Answer | — |
A: Tile pyramids on top of each other! [Python 2], 57 bytes a,x=1,input() exec'print" "(x-a)+"/"a+"\\\\"a;a+=1;'x Prints it out line by line Try it online! (more) |
— | over 3 years ago |
Question | — |
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 some way. What does everyone think? (more) |
— | over 3 years ago |
Answer | — |
A: Length of a Sumac Sequence [Python 3], 49 47 44 35 bytes a=lambda x,y:+(x>=0)and(1+a(y,x-y)) Try it online! -3 bytes thanks to @Hakerh400 -9 bytes thanks to @Jo King [Python 2], 50 bytes x,y=input() a=0 while x>0:x,y,a=y,x-y,a+1 print(a) An alternate solution I also ... (more) |
— | over 3 years ago |
Question | — |
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$, because $1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} = \frac{25}{12} > 2$. More Input/Output Exampl... (more) |
— | over 3 years ago |
Answer | — |
A: 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 (more) |
— | over 3 years ago |
Answer | — |
A: 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 (more) |
— | over 3 years ago |
Question | — |
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>=5`. More Input/Output Examples 1 -> 2 (3 - 2 >= 1) 2 -> 3 (5 - 3 >= 2) 3 -... (more) |
— | over 3 years ago |
Answer | — |
A: "Hello, World!" Japt, 11 bytes `HÁM, Wld! Just using Japt's builtin compression. Test it (more) |
— | over 3 years ago |
- ← Previous
- 1
- 2
- Next →