Sum of unique multiples of 3 and 5
If we list all the natural numbers up to 15 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12 and 15. The sum of these mul...
STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit
Arrest and fine them!!!
3年弱 前
解決済み
Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...
3年弱 前
解決済み
Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples:
x...
i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i".
So correct the input string x, but be aware that other u...
3年弱 前
解決済み
Binary Inversion
Given the unsigned 8-bit integer x, return the number y which is the binary inversion of x.
For example if x is 5, y should b...
3年弱 前
解決済み
Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square.
...