Implement division. Input 2 numbers: a and b. Output the result of a divided by b. Note that 0-division returns 0. (A simple error-detection)
This program should support division with big integers (i.e. supports more digits that the built-in long long type in C)
Support for negative numbers is ...
JonoCode9374 had almost completely implemented my language EnScript except for the CHS command. I was impatient of waiting them to implement this command, so I chose to put this question here.
This is the CHS instruction reference copied from the website:
CHS means to chase all of the numbers in...
The aim of this challenge is to find an impossibly short
implementation of the following function p, in the langage of your
choosing. Here is C code implementing it (see
this TIO link that also prints its outputs) and a wikipedia page containing it.
unsigned char pi[] = {
252,238,221,17,207...
I am working on a programming problem , but I am not able to prove one of the case from the solution mathematically.
The problem statement is-
Given an array of n integers, divide it into k segments and find the maximum of the minimums of k segments. Output the maximum integer that can be obtaine...
Who can escape the Nonary Game?
Rules of the game
There are 9 participants, numbered 1 to 9.
There are any number of doors, each one with a 1 to 9 number. There may be duplicate or missing door numbers.
Only groups of 3 to 5 persons can go through a door.
A group can only go through a door if ...
Make Gimbap cutter
Gimbap(김밥) is Korean food, somewhat looks like sushi roll.
Here is Korean emoticon represent Gimbap : @))))))))))
Your quest is make ASCII Gimbap cutter.
Rule
Input is string made with @ and ).
Output cuts input string with ), and then add (space)@ between them.
If there...
This OneNote we're using for a project has a typo in the name. It bugs the hell out of me but there's probably enough links that changing it will break things
@someone Now that you've posted your Graeco-Latin square challenge, make sure to delete the post in the Sandbox to help save space and keep the Sandbox tidy. Thanks!
Deleted. I think a mod has done this to a posted proposal of mine in the past. My original plan was to delete it after a certain duration after the question is posted, so that people without the reputation to see deleted answers could see the proposal after following the sandbox link in the comments, but I ended up forgetting.
Oh, and don't worry about not pinging me about stuff... I have a lot of tabs open and I forget to close them. :/ So it looks like I'm around more than I am. Mostly I'm here so that if y'all have questions about the design, I'm pingable.
Anonymous
@Adám Because the featured list is weird and likes to not update, even when stuff hasn't been featured for weeks.
For some reason, a Meta question on IPS has recently erroneously appeared in the sidebar "Featured on Meta" box. Not only is this question not currently featured, it's locked. The featured tag was removed February 2nd, and this is not a caching issue because it was not in the box earlier this eve...
Given an array of 2N integers (-10^9 < X < 10^9), you can take any subarray of size N and multiply each element by (-1), what's the maximum array sum you can get doing this operation as many times as you want. (0 < N < 10^5)