Definition:
A number m is called the smallest primitive root of a prime p iff it satisfies the following conditions:
a. The smallest integer k for which p dividies mk-1 is p-1
b. No other positive integer smaller than m has this property.
Your task
Given a tuple (a,b) of positiv...
May we output complex floating point numbers as long as they yield the correct answer when rounded to the nearest integer/gaussian integer? — fireflame241yesterday
> Welcome to the private implementation of the CodeCogs Equation Editor for domain codecogs.com. If you have reached this page from another domain, or if CodeCogs (Free Service) does not hold a valid licence for this product, then you are not authorised to use this program or the webservices provide by this server.
> Equations generated by CodeCogs can be used for any purpose, anywhere. The Equation Editor Plugins (i.e. CK Editor) and Editor API can all be used for free.
so it's perfectly ok for you personally to use their website to generate an image, copy it and host it somewhere else
Can't see the first two, set variable (backwards compared to normal order for a string variable name), get variable for string variable names, probably Wolfram rule, Wolfram span
If the second is weird double quote and there's a triple quote of that then it's repeated, triple is repeatednull, basically + and * in Regex
There are n people on a 2D plane. Using distances between them we're going to find their positions. To get a unique answer you may make four assumptions:
There are at least 3 people.
The first person is at position (0, 0).
The second person is at position (x, 0) for some x > 0.
The third person...
@Downgoat You hired a butler who only speaks Ancient Greek. You speak English, so if you want your butler to understand you and follow your instructions, you have to have some way of translating. Obviously, of course, modern English has lots of expressions that make no sense in Ancient Greek, so you can't just use a dictionary to literally translate, so you have to get a translator.
@Downgoat the computer only understands ones and zeros. It's faster to convert code to ones and zeros beforehand instead of doing it while the code is running.
I'm sorry but I really didn't know where to ask this question but I am stuck with this problem where I need to get rid of duplicates of values and just leave one value remaining in the sheet. For example,
I want to find a way to organize the entries in column A into column B such that only on...
@xnor do you think llhuii’s Evil Numbers solution’s execution time is a red herring?
I wonder about Mitch’s 46-byte solution too… the 47-byte everyone else got seems hard to eke another byte out of, so presumably Mitch found some trick, just one that isn’t as good as yours/llhuii’s?
llhuii’s Python 3 submission
Here are the Python 3 submissions for Evil Numbers at the time of writing:
llhuii probably ported their trick to Python 3, and came up with a solution that is
3 bytes longer than their Python 2 solution, and
has 45 − (25 + 18) = 2 bytes of whitespace.
Porting ...
@ASCII-only You trust actual experience more than what those guys say, right ? I have a Lenovo laptop since the past two years, and the experience is ... pretty awful, to say the least.
Also, like… the assumption that perl is installed is totally invalid on here. There’s no “reference system” or anything
anagol users abuse the golf server a lot. If I post a challenge where you have to print the string "/srv/test", golfers will soon recognize what’s up and answer pwd in Bash, but of course that answer wouldn’t make sense outside of anagol