Feeds
문제를 풀었습니다
Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...
25일 전
문제를 풀었습니다
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
25일 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
25일 전
문제를 풀었습니다
King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...
25일 전
문제를 풀었습니다
Car Battery Internal Resistance
Engineers at Tata Motors test a car battery with: EMF = 12 V Internal resistance = 1 Ω External resistance = 5 Ω Find curren...
25일 전
문제를 풀었습니다
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
30일 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
30일 전
문제를 풀었습니다
Plus Cross Mandala
Create a symmetrical plus (+) shaped pattern centered in an N×N matrix.
30일 전
문제를 풀었습니다
Pascal's Pyramid - A Variation with an Arial View
Let's create a matrix of size N x N containing a Pascal's Triangle in each quadrant that diverges from the centre to form an ari...
30일 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 1개월 전

