문제를 풀었습니다


Find my lucky number
Write a function which returns my lucky number

7년 초과 전

문제를 풀었습니다


Mean of a matrix
Determine numeric mean of a matrix

7년 초과 전

문제를 풀었습니다


Binairy invert
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...

7년 초과 전

문제를 풀었습니다


Chicken race
2 chickens, Pete and Fred, compete in a 100 meter race. Pete runs at a velocity of vp meter/second and Fred is slower, running ...

7년 초과 전

문제를 풀었습니다


time difference
The arrays x and y contain time values in the form of: x = [hours minutes seconds] Create the output z which contains the...

7년 초과 전

문제를 풀었습니다


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

7년 초과 전

문제를 풀었습니다


Non trivial identities - complexification
Return x by complexifying it.

7년 초과 전

문제를 풀었습니다


Non trivial identities - replication
Return x by replicating itself in any dimension.

7년 초과 전

문제를 풀었습니다


Non trivial identities - open your eyes
Return x by using your eyes.

7년 초과 전

문제를 풀었습니다


Non trivial identities - multiplication
Return x by multiplying it with a random number.

7년 초과 전

문제를 풀었습니다


Non trivial identities - double negative
Return x after negating it.

7년 초과 전

문제를 풀었습니다


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

7년 초과 전

문제를 풀었습니다


Non trivial identities - polynomial
Return x as a polynomial of itself.

7년 초과 전

문제를 풀었습니다


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

7년 초과 전

문제를 풀었습니다


Odd row
Create a row 'y' with odd numbers where the range of numbers is given by 'x' and the space between them by 'm'. The first number...

7년 초과 전

문제를 풀었습니다


Euclidean inter-point distance matrix
The Euclidean distance between two points in a p-dimensional space is a really common thing to compute in the field of computati...

7년 초과 전

문제를 풀었습니다


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

7년 초과 전