Area of square
Find the area of a square whose diagonal length is given as x.
8年以上 前
解決済み
Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10].
Find whether the number n is present in given array or not.
If the number n is prese...
8年以上 前
解決済み
Divisible by 21
Write a function to determine if a number is divisible by 21.
8年以上 前
解決済み
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
8年以上 前
解決済み
How brilliant are you?
A Brilliant number is defined as a number with two prime factors, both of which have the same number of digits. Some examples:
...
Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix.
examples:
Input A=[1 2 3 5 6;52 58 56 45...
9年弱 前
解決済み
number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...