Resuelto


factorial
calculate x!

casi 7 años hace

Resuelto


time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

casi 7 años hace

Resuelto


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

casi 7 años hace

Resuelto


Perimeter of a square!
Calculate the circumference of the square whose side is n

casi 7 años hace

Resuelto


Repeat elements of a vector
Repeat each elements of a given vector according to their values. say x=[1,2,1,3] y=[1,2,2,1,3,3,3]

casi 7 años hace

Resuelto


microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...

casi 7 años hace

Resuelto


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

casi 7 años hace

Resuelto


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

casi 7 años hace

Resuelto


to the 2 all elements
to the 2 all elements

casi 7 años hace

Resuelto


Calculate the area of a circle
Given a circle of diameter x calculate its area

casi 7 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 7 años hace

Resuelto


Frequency Analysis of Text
Frequency analysis is a common task in cryptoanalysis. It is essentially counting the occurrences of alphabets (regardless of ca...

casi 7 años hace

Resuelto


Find the max element of the array
Find the max element of the array

casi 7 años hace

Resuelto


Check capital letters
Check if each first letter of a string is a capital letter. for example: 'This Is Ok' gives a true answer and 'This Is not Ok' ...

casi 7 años hace

Resuelto


Project Euler: Problem 11, Largest product in a grid
What is the greatest product of _k_ adjacent numbers in the same direction (up, down, left, right, or diagonally) in a _n×n_ gri...

casi 7 años hace

Resuelto


Archimedes principle
According to Archimedes principle, the buoyancy force is equal to the weight of fluid displaced by the submerged portion of an o...

casi 7 años hace

Resuelto


calculate the length of matrix
input 1 array, calculate the length

casi 7 años hace

Resuelto


easy problem
Find the last element of the array

casi 7 años hace

Resuelto


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

casi 7 años hace

Resuelto


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

casi 7 años hace

Resuelto


Logical array indexing - part 1
Given an array |A| of size |p x q| , return an array |Y| of the same size such that the following conditions are satisfied. (...

casi 7 años hace

Resuelto


Find square of given number
Find Square of any number

casi 7 años hace

Resuelto


Chào các bạn.
Cho 3 số. Tính tổng của chúng

casi 7 años hace

Resuelto


Square root of number
Square root of given number.

casi 7 años hace

Resuelto


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

casi 7 años hace

Resuelto


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

casi 7 años hace

Resuelto


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 y...

casi 7 años hace

Resuelto


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 C...

casi 7 años hace

Resuelto


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

casi 7 años hace

Resuelto


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

casi 7 años hace

Cargar más