Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
3 years 前
已解决
Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners
Points = [x, y];
Triangle = [x1, y1; x...
Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...
3 years 前
已解决
Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|.
Example:
Input: a = 4; b = 7; c ...
3 years 前
已解决
Min of a Matrix
Return the minimum value in the given matrix.
Sum of adjacent elements in a vector
Given a vector v, return a vector s containting the sum of every two adjacent elements in the vector.
Every element s(i) cont...