@cairdcoinheringaahing Technically if you vote for all candidates and put X last it is not different from the same except with X removed. Since the candidate above them of on the ballot can never be eliminated without the election concluding.
I solved Semantle #62 in 22 guesses. My first guess had a similarity of 0.42. My first word in the top 1000 was at guess #15. My penultimate guess had a similarity of 13.81. semantle.novalis.org
Me: *minding my own business* Pixel: *comes tearing past like she's auditioning for the Sonic Movie 3* *5 seconds pass* Luna: *comes sauntering in at a leisurely pace* Me: ... Me: what did you DO to her?!
I solved Semantle #62 in 33 guesses. My first guess had a similarity of 10.10. My first word in the top 1000 was at guess #6. My penultimate guess had a similarity of 9.46. semantle.novalis.org
I solved Semantle #62 in 82 guesses. My first guess had a similarity of 9.14. My first word in the top 1000 was at guess #12. My penultimate guess had a similarity of 8.05. semantle.novalis.org
How do you do, fellow Stackers?
If there’s anything that Stack Overflow is known for, it’s being hip to the latest trends in every field. Gaming? We created StackEgg. Security? We invented Dance Dance Authentication. Self-guided problem solving? Quack Overflow was there for you. Programming? The ...
> User enters a string, this will produce an error. To avoid this, wrap the conversion to an integer in variables: variables[name] = list() variables[name].append(int(value)) with the highest value. In your subset_sum() function, you have the line str1 = ''.join(str(e) for e in max) Which tries to iterate (loop) through the predefined function, as there is what seems to be happening.
> bU # dump the contents of that you have singleton lists for hundreds and tens and an empty list of 0s which is truthy) - this makes it so that you do this to me?
not exactly what to binary then Uniquify does but close enough
I have been forced to read about 100 code golf topics now by stackexchange which are all all a waste of knowledge and brain power. 99.9% of code golf topics have not aimed to further humanities quest in a strategically useful field of study.com which is essentially a form of stupidity... If you w...
It's like claiming that the New York Times should stop putting crosswords in the newspaper, because it wastes society's collective brainpower. The time when people do crosswords, or code golf, is time when we wouldn't be productive in the first place, so at the worst all it does is provide somewhat contrived practice problems. I, at least, have learned a considerable amount from code golf. — Radvylf Programs30 secs ago
This is right
I've learned more from code golf than school or uni
tried to make an infinite loop to print "sus" forever, didnt manage to find a way to do that without making it super obvious
lol got this when i pasted my account into flack overstow: If you paste pride into the function \$f(n,k)\$, where \$n\$ is not an integer, it will round it instead. For example, [1...3.5] is not.
if you use too many of the other answers were doing.
lol
Number to the power of zero, it in such a way that it was inaccurate.
So, for example, the following the pseudocode below (using the general list comprehension form that I mentioned earlier): SET result to empty list to decimal, with the head of the 3 row layout that I couldn't figure out how to get. lmaooooooo
@Bubbler thats cool, from wiki page: "There are three programming languages named after him, Haskell, Brook and Curry, as well as the concept of currying, a technique used for transforming functions in mathematics and computer science."
it seems like curry is really similar to haskell (at least at first glance), except there is a bunch of other math stuff that i feel like i should be trying to understand, but instead im just skipping right over them
my initial thought process was to first push a 0, then do the input command. if the input command is successful, then there will be a nonzero integer on the top of the stack (so smth like [input, 0,...]). but if there is no input, then the zero will be on top of the stack instead (like [0,...]).
Full programs may take array/string input (of unknown length) via stdin in the form of <length> <contents> or <contents> <sentinel>
EOF handling is a common problem in many languages, not just esolangs. But only "regular" languages that support proper arrays and functions can circumvent this issu...
Kinda nice-to-have for esolangs with weak (and somewhat weird) I/O facility, but I do think it is a consistent extension for full programs to functions taking arrays
In accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout March 2022, our Language of the Month will be:
Curry
What's a Language of the Month?
See the meta post for nominations. In short, during February, those wh...
@emanresuA Did you know he also solved the Riemann hypothesis, but he hates Riemann integration so he kept his proof for himself. (he prefers Darboux integration)
Well this is strange.
I forgot to lock my monitor when I walked away from my desk, at work, and one of my co-workers decided to have a little fun.
When I got back, I found this little C# console app code segment, sitting forefront on my machine. I ran it a few times, but the results don't re...
I initially thought of a strategy of finding the number of "hanging lines" (ik not very scientific) and going from there by fixing the endpoint but it didn't end up working out
We are probably all used to the English alphabetical order:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
When we compare words in English for the sake of alphabetization we first compare the first letter, whichever word has the later first letter comes later. If they are the same we chec...