Activity for Quintec
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #279376 |
Post edited: |
— | about 4 years ago |
Comment | Post #279467 |
@Lundin see my answer. (more) |
— | about 4 years ago |
Edit | Post #279479 | Initial revision | — | about 4 years ago |
Answer | — |
A: 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 fit into this category. https://codegolf.stackexchange.com/questions/54/tips-for-golfing-in-python ... (more) |
— | about 4 years ago |
Comment | Post #279450 |
@Shaggy cheers, thanks (more) |
— | about 4 years ago |
Edit | Post #279450 |
Post edited: |
— | about 4 years ago |
Edit | Post #279450 |
Post edited: |
— | about 4 years ago |
Edit | Post #279450 |
Post edited: |
— | about 4 years ago |
Edit | Post #279450 |
Post edited: |
— | about 4 years ago |
Edit | Post #279450 | Initial revision | — | about 4 years ago |
Answer | — |
A: Weave Strings Together Japt `-P`, 7 2 bytes Õc Takes input as character arrays. -5 bytes thanks to @Shaggy Try it (more) |
— | about 4 years ago |
Comment | Post #279434 |
Ugh, the "strings may have spaces" and the way you don't pad the strings makes it unusually annoying. (more) |
— | about 4 years ago |
Comment | Post #279382 |
@Lundin are you by chance in the Discord? It would be a lot easier to talk there. (more) |
— | about 4 years ago |
Comment | Post #279386 |
@Lundin Wrapping a function in other code is only an I/O bridge, not code that actually affects how the function would run and what it would return. (more) |
— | about 4 years ago |
Edit | Post #279406 |
Post edited: |
— | about 4 years ago |
Edit | Post #279406 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279386 |
@Lundin I don’t follow. Your code needs to contain all the code it references otherwise it won’t be able to run. If you use stuff(), you must define stuff(). (more) |
— | about 4 years ago |
Edit | Post #279386 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279374 |
@Shaggy is a genius, that is so far from my answer I'll let him post it (more) |
— | about 4 years ago |
Edit | Post #279376 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279287 |
Out of curiosity, I've seen this in a few of your other answers now (using shortcuts instead of one character alternatives) - why `Ä` at the end instead of `1`? (more) |
— | about 4 years ago |
Edit | Post #279374 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Edit | Post #279338 |
Post edited: |
— | about 4 years ago |
Edit | Post #279338 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279203 |
Ah, command for center padding, nice, thanks @Shaggy you learn something new every day (more) |
— | about 4 years ago |
Edit | Post #279203 |
Post edited: |
— | about 4 years ago |
Comment | Post #279284 |
Hey, welcome :D I knew there were a few Japt tricks I still didn't know about... (more) |
— | about 4 years ago |
Comment | Post #279255 |
y'all are too good at this (more) |
— | about 4 years ago |
Edit | Post #279255 |
Post edited: |
— | about 4 years ago |
Edit | Post #279258 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Edit | Post #279255 |
Post edited: |
— | about 4 years ago |
Edit | Post #279255 |
Post edited: |
— | about 4 years ago |
Edit | Post #279255 |
Post edited: spaces |
— | about 4 years ago |
Edit | Post #279255 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279185 |
Looks good to me now, I think you can post it (more) |
— | about 4 years ago |
Comment | Post #279185 |
I agree with msh - the length should not include the negative number even if one of the inputs is negative to be consistent with the other cases. So the last two examples should be 1 and 0 respectively. Another option is to just guarantee the inputs are positive - its up to you. (more) |
— | about 4 years ago |
Edit | Post #279233 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Comment | Post #279217 |
Can you use more than one required tag? I can envision examples where that might fit based on Razetime's list below. (more) |
— | about 4 years ago |
Edit | Post #279169 | Post edited | — | about 4 years ago |
Edit | Post #279203 | Initial revision | — | about 4 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) |
— | about 4 years ago |
Suggested Edit | Post #279169 |
Suggested edit: tag (more) |
helpful | about 4 years ago |