Biggest katlani noun dictionary in 400 bytes
code-golf kolomogorov-complexity
Katlani is a constructed language being designed in chat. In this challenge, your goal is to print the largest dictionary of katlani nouns possible in 400 bytes or less.
Task
In 400 bytes or less, your program should p...
Oops, that incredible tanh discovery on the float division challenge was made by Delfad0r, not Arnauld. I'd been giving credit to the wrong user for the last like 8 months lol
@cairdcoinheringaahing Do you have any meta posts related to your tag moderation efforts on meta during 2021? I feel like that's definitely worth a nomination
Task
Your task is Take a inpus as a list of non-negative numbers, Move Right and left. If the numbers combine, then sum. If there is 1 element, the middle number is 0.
Example
A simple example is [1] gives [1, 0, 1] because
[1]
/ \
/ \
[1, 0, 1]
Another example
[1, 2]
/\ /\
/ X ...
(speaking of, a couple of those questions could do with status-declined tags)
This is very unlikely to ever happen (see my comment), this has a corresponding MSE post with no status tag, and this is potentially still up for discussion
You mean this review? The question still isn't clear. I'm guessing you want to suggest a monthly event, like LOTM, where authors post challenges. But, your meta post isn't at all detailed enough. Why should this be an event? What should the themes be each month? Should the monthly challenges be themed? How exactly would it work? etc.
Huh. Looking at codegolf.stackexchange.com/review/first-posts/stats for the historical record, only 4 users are in the top 10 reviews for each queue: me, WW, DJ and Stephen. However, going by FQ and FA, I'm the only one in the top 10 for all 8 queues
Covid has made it so that I haven't been able to socialise with people my age - last year was my first year of uni meaning I didn't have my high school friends any more. And lock downs meant I didn't meet people irl
@Bubbler my parents keep telling me i need to make friends in case something happens and i need to be bailed out. I’ll let them know an infinite stranger said otherwise :p
Or you can try this: let P be the product of all numbers. Divide P by each number, and take the GCD (not pairwise, just reduce by math.gcd) of all of them. If it is 1, the numbers are pairwise coprime.
I am trying to get the slashes to form a half-diamond type of shape, but I cannot seem to get the incrementation correct. I currently have:
else if (menuOption == 2) {
int numberOfDolls = 0;
cout << "Number of dolls -> ";
cin >> numberOfDolls;
for (int i = 1; i <= numb...
The most unexpected outcome
An answer that you didn’t expected it to work, or do something else, but unexpectedly did some weird behavior and made the answer valid.
This could involve some interpreter bug, or obscure feature that wasn’t documented nor known by many people.
Lololololololololololol...
In computer science, a tagged union, also called a variant, variant record, choice type, discriminated union, disjoint union, sum type or coproduct, is a data structure used to hold a value that could take on several different, but fixed, types. Only one of the types can be in use at any one time, and a tag field explicitly indicates which one is in use. It can be thought of as a type that has several "cases", each of which should be handled correctly when that type is manipulated. This is critical in defining recursive datatypes, in which some component of a value may have the same type as the...
@PyGamer0 also vector<union Type> should just be vector<Type>
Navigate the city
The government of your country has just completed a city designed to accommodate a few thousand people. It has all sorts of facilities including roads, restaurants, malls, houses, etc. You have been invited to test the road system, but you are completely unfamiliar with it, so y...
YOU JUST INSPIRED A MINI-CHALLENGE: CAPITALIZE ALL LETTERS IF THERE IS "LOUD" IN THE INPUT, LOWERCASE ALL LETTERS IF THERE IS "SOFT" IN THE INPUT, AND KEEP THE SAME OTHERWISE.
The Caesar cipher is a simple and famous cipher, where the letters of the alphabet are rotated by some secret amount. For example, if our secret rotation is 3, we would replace a with d, b with e, w with z, x with a and so on.
Here is an example (rotation amount: 10):
Robo sc kx ohkwzvo
This cip...
I am confused by lambda functions in Python. In this line make_vec_env(lambda: BitFlipEnv(array_length=50), n_envs=12) what exactly is being passed to the make_vec_env function?
.Net Technology is an incredible framework with marvellous functionalities, and among all of them, the most important one obviously stands out:
Yep, your simple task is create a program that when it takes at input:
dotnet ef
It prints the following ascii art by output:
/\__
...
@SandboxPosts Is there any feedback on this challenge that anyone would like to give? It's a hugely complex challenge, so I will likely need to clarify a lot.
and I know I only posted the proposal 4 hours ago, but then again I will probably need to make a lot of changes. Even today I have had to clarify a few confusing parts I found myself.