Activity for Quintec
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #283791 |
whoops, fixed now (more) |
— | over 3 years ago |
Edit | Post #283791 |
Post edited: |
— | over 3 years ago |
Edit | Post #283791 | Initial revision | — | over 3 years ago |
Answer | — |
A: Compute the determinant [Python 3], 29 bytes import numpy numpy.linalg.det Yeah, this is really boring, but I'm curious if this can be beat in Python. Try it online! (more) |
— | over 3 years ago |
Edit | Post #283790 | Initial revision | — | over 3 years ago |
Answer | — |
A: 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 concatneate and mirror them. Try it here! (more) |
— | over 3 years ago |
Comment | Post #283716 |
I don't think fastest-code kolmogorov complexity makes sense... there really is almost nothing interesting you can do to speed up your code in most languages (more) |
— | over 3 years ago |
Comment | Post #283649 |
What? That doesn't make any sense, python outputs binary numbers with `0b`, how is that a converter (more) |
— | over 3 years ago |
Comment | Post #283649 |
what about native language formats for binary? such as `0b` prefix for python and such (more) |
— | over 3 years ago |
Edit | Post #283431 |
Post edited: |
— | over 3 years ago |
Edit | Post #279793 |
Post edited: |
— | over 3 years ago |
Edit | Post #283413 | Question reopened | — | over 3 years ago |
Comment | Post #283413 |
I'm closing this question until this is resolved. (FWIW, I don't understand this either.) (more) |
— | over 3 years ago |
Edit | Post #283413 | Question closed | — | over 3 years ago |
Comment | Post #283404 |
"takes a random number" do you mean *output* one?
"Built-ins allowed" well pretty much all golflangs have a random builtin, so this kills the challenge. Furthermore, I don't really see how this is possible. Without any sort of external code, all operations you can do are deterministic... (more) |
— | over 3 years ago |
Comment | Post #283151 |
I feel like we really only need one guess the language challenge... others don't add that much imo. (more) |
— | over 3 years ago |
Edit | Post #282874 |
Post edited: |
— | over 3 years ago |
Comment | Post #283133 |
you can set IO to 0, but then it doesn't work for 1... (more) |
— | over 3 years ago |
Comment | Post #282979 |
@#54114 Since it is valid, you have to accept Shaggy's answer - if you want to make another with your original language that doesn't work in Japt, go ahead, but this should count as correct. Other languages that do this include Pyth (more) |
— | over 3 years ago |
Edit | Post #282989 | Initial revision | — | over 3 years ago |
Answer | — |
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, and you may be able to see why. For example, just adding comments increases code length - you need a v... (more) |
— | over 3 years ago |
Edit | Post #282967 |
Post edited: |
— | over 3 years ago |
Comment | Post #282967 |
Sorry, this does not work, the whole snippet is actually all part of the code, all 5 lines (more) |
— | over 3 years ago |
Edit | Post #282967 | Initial revision | — | over 3 years ago |
Answer | — |
A: Guess the language! (Cops' Thread) Canvas, cracked by Shaggy, 129 bytes ``` /bin/bash > echo "Cops and Robbers"; #Testing, testing 1 2 3 Segmentation Fault > echp "Cops and Robbers"; #Huh? Cops and Robbers ``` This version of bash seems to have some... questionable behavior... (more) |
— | over 3 years ago |
Edit | Post #282964 | Initial revision | — | over 3 years ago |
Answer | — |
A: Three Number Monte The "Uppers" ```py 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 = [prev[0] + 1, prev[1] - 2, prev[2] + 1] else: better = [prev[0] - 2, prev[1] + 1, prev[2] + 1]... (more) |
— | over 3 years ago |
Edit | Post #282963 | Initial revision | — | over 3 years ago |
Question | — |
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 picks `[a, b, c]` and player 2 picks `[x, y, z]` Now `a` is compared to `x`, `b` is compared to `y`, an... (more) |
— | over 3 years ago |
Comment | Post #282881 |
fwiw, the code golf one also already exists on SE. (more) |
— | over 3 years ago |
Edit | Post #282846 |
Post edited: |
— | over 3 years ago |
Edit | Post #282846 | Initial revision | — | over 3 years ago |
Answer | — |
A: Default Rules: Random Every outcome must be possible For example, if the challenge requires a random number from 1-5, all 5 numbers must be possible. It does not need to be uniformly random (unless otherwise specified) - all 5 numbers may have different probabilities of occurring, but they all must have a nonzero proba... (more) |
— | over 3 years ago |
Edit | Post #282845 | Initial revision | — | over 3 years ago |
Question | — |
Default Rules: Random What is random defined as on this site? How are answers allowed to handle random chance? (more) |
— | over 3 years ago |
Edit | Post #282802 |
Post edited: |
— | over 3 years ago |
Edit | Post #282844 | Initial revision | — | over 3 years ago |
Answer | — |
A: Default Rules: Flags and Other Compile-Time Options IF flags take arguments, those arguments count for the code length For example, in Japt, `-F"string"` is a flag that prints `"string"` if the output is falsy - in my opinion this should add 6 bytes on to the length of the answer (in language `Japt -F`). (more) |
— | over 3 years ago |
Edit | Post #282799 |
Post edited: |
— | over 3 years ago |
Edit | Post #282790 |
Post edited: |
— | over 3 years ago |
Edit | Post #282790 | Initial revision | — | over 3 years ago |
Answer | — |
A: 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 your own. Input/Output Loopholes (more) |
— | over 3 years ago |
Edit | Post #282789 | Initial revision | — | over 3 years ago |
Answer | — |
A: 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. (more) |
— | over 3 years ago |
Edit | Post #282788 | Initial revision | — | over 3 years ago |
Question | — |
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. (more) |
— | over 3 years ago |
Edit | Post #282787 | Initial revision | — | over 3 years ago |
Answer | — |
A: 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`. (more) |
— | over 3 years ago |
Edit | Post #282786 | Initial revision | — | over 3 years ago |
Answer | — |
A: 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`. (more) |
— | over 3 years ago |