i didn't even realize that i was inadvertently spoiling it by mentioning the task for getting it :p
Anonymous
I'm not going to try to heavily enforce this room being spoiler-free (i.e. trashing every spoiler), but if you go out of your way to spoil things for others, that's definitely not Being Nice, and thus worthy of a kick.
Someone is blackmailing the german branch of DHL by sending crude nail bombs to recipients near public places or bigger office buildings. The first bomb just burned, the second one failed to ignite and was exploded by the police. Troubling during these months, were many send presents via mail. Let's hope they catch them soon.
Is there a regex which matches three given numbers if and only if the third number is the sum of the first two numbers?
These should fail:
0 1 2
10 20 1000
These should match:
10 20 30
28657 46368 75025
0 0 0
I have reason to believe it's possible based on the solution of Martin Ender for ...
Chrome got mad because I didn't terminate my buggy program before it gobbled up most of my memory. Chrome wants to be the only program that gets to gobble my memory.
@dylnan OK, I just figured it out. All Hard Drives are measure in Gigabytes. Linux measures the size of files on disk as Gigabytes. Windows screws everything up and measure both in Gibibytes
sigh
This is why we can't have nice things.
So when you buy a 1000 GB drive, plug it into windows, windows says Hey! That's only 930 GB!
Since MD XF
stole my question idea
(he didn't actually steal it, but still...)
I am going to post an ASCII art version instead. This uses the exact same principle from
his question,
so I will be brief.
Challenge
Given an
atomic number
from 1 to 118 as input, output the electron configurat...
@cairdcoinheringaahing I consciously chose on characters that could be typed on my keyboard layout, US international AltGr dead keys. This particular variant may be Linux-only.
Rational / Float / Complex
I've read so many times that GolfScript has only integers that I started to believe it. Well, it's not true.
2-1? # Raise 2 to the power of -1. Result: 0.5
4-1? # Raise 4 to the power of -1. Result: 0.25
+ # Add. Result: 0.75
The output is
3/4
with the standar...
Honestly, the standard for good golfing language is constantly constantly going up. PPCG used to be completely dominated by golfscript, J, and APL. Then, CJAM and Pyth were the big ones. Now, Jelly, Husk, osabie, SOGL are way way way shorter
@cairdcoinheringaahing V is specialized into string challenges, but even so, there are tons of string challenges V is horrible at. Honestly, it's very hit or miss (extremely short and competitive or not at all)
It also doesn't have a dictionary like some KC langs
"This challenge proposal has been inactive for over a month. I would like to take ownership of the challenge and make it ready for posting." (commented 5 years after the original post)
Find the nth fibonacci number
This has surprisingly not been posted yet.
Given an input n, output the nth term of the fibonacci sequence,
Q's
What is the whole F(n)=...
Standard ML (or golfier: SML) is a general-purpose, modular, functional programming language with compile-time type checking and type inference. (from Wikipedia)
Though you almost certainly will never win a code golf challenge with SML, (ab-) using it for golfing can nevertheless be quite fun (<...