Lake Disappointment, or Kumpupirntily in the indigenous language, is an endorheic salt lake located in the Pilbara region of Western Australia.
== Description ==
The 33,000-hectare (82,000-acre) lake typically is dry except during very wet periods such as the 1900 floods and in many recent tropical wet seasons since 1967. It lies on the Tropic of Capricorn, due east of the mining town of Newman and the Jigalong Community. It is at the northern side of the Little Sandy Desert and south of the Karlamilyi National Park. The Canning Stock Route passes down the western shores of the lake and t...
Task
Given two positive integers, output the number of carries needed to add them together in long addition in base 10.
Examples
¹¹¹ <-- carries
999
+ 1
----
1000
Three carries are needed.
¹
348
+ 91
----
439
One carry is needed.
Testcases
999, 1 -> 3
398, 91 -> 1
348, 51 -> ...
Challenge
Given the formula of a chemical, output the Mr of the compound.
Equation
Each element in the compound is followed by a number that denotes the number of said atom in the compound. If there isn't a number, there is only one of that atom in the compound.
Some examples are:
Ethanol (...
stdin FPS
Count the input FPS ("F"s per second)
Task:
Read a potentially infinite text stream. While you do, display (at least once per second) your FPS, i.e. the amount the characters "f" or "F" appeared.
The FPS has to be accumulated over a time frame of at least 5 seconds, meaning you can'...
@Mr.Xcoder I find it very difficult to find out a good question to answer. Most of javascript tagged question seek help regarding an external library. I don't think there are any good native JS questions left. :(
@Mr.Xcoder Sorry for the delay. I was away from the keyboard.
Currently if you wish to take input as a string in Brain-Flak you are going to need the -A flag. This will cost you 3 bytes. Currently if you would like to take input as a string in Python you are allowed to use input() and assume that the input ins provided in a proper string format (Python IO...
Also, I am designing a 2D language which fits on the edges of a cube and uses spaces and new lines in the unfolded version but cannot contain either in the compiled code. Does whitespace need to be included in the code page?
Thanks to MD XF's recent challenge, we can now read passwords in many different languages! The problem is, now we need to port our applications to mobile devices, and they do password entry a little differently.
Challenge
Read a string from the keyboard.
Each time a characterk is entered, disp...
CMC: Given an ordered set and a member of said set, demote the member to the very end of the set. E.g. {2,7,1,8} and 7 → {2,1,8,7} and ["Mercury","Venus","Earth","Mars"] and "Earth" → ``["Mercury","Venus","Mars","Earth"]`
IDK how it works if the ArrayList given as input is an ArrayList of Integers, because if ArrayList.remove() is given an int it removes at the given index.
Quote my quote! code-golf string
A quotation is "the repetition of one expression as part of another one". In American English, a quotation is surrounded by double-quotation marks ("), as in the previous sentence. However, this rule differs when a quote appears inside another quote. In this case...
The reason is twofold 1) There is no good definition of what a builtin is, and there likely never will be 2) If the challenge is simple enough that a good deal of languages already have a builtin then you should probably just treat it as a catalog, like the addition question.