Gelöst


Get twenty-four
Inpur four integers in 1 to 10, you may use plus, minus, multiply and divid to get 24. Note that every integer should be used on...

etwa 4 Jahre vor

Gelöst


RandomProblem32
Solve for the answer

etwa 4 Jahre vor

Gelöst


RandomProblem33
Solve for the answer.

etwa 4 Jahre vor

Gelöst


Random Problem12- Squaring a number
Square the number

etwa 4 Jahre vor

Gelöst


RandomProblem13-Cube a number
Cube a number

etwa 4 Jahre vor

Gelöst


Fill a rectangle with 1x1 and 2x2 tiles
A 3x2 rectangle can be filled with 1x1 and 2x2 tiles in three ways: The colors merely distinguish the sizes of the tiles. A 3...

etwa 4 Jahre vor

Gelöst


Palindrome Problem 1
Continued Problem 50033: A palindrome is one-thirteenth of the sum of and , where and are also palindrome. Give an example o...

etwa 4 Jahre vor

Gelöst


Multiply by 3
Multipy the thingy by 3

etwa 4 Jahre vor

Gelöst


Square Rooting a Number
This MATLAB Cody exercise requires you to take a number x, square root it, and get y

mehr als 4 Jahre vor

Gelöst


prime consecutive sums
Create a number sequence of 1 to n, such that the sums of every two consecutive numbers are all primes. E.g. if n = 5, you may ...

mehr als 4 Jahre vor

Gelöst


N-th Digit of all Write-Down Numbers
Write-Down Numbers are: 123456789101112131415161718192021222324252627282930... What is the N'th digit (where N is represented a...

mehr als 4 Jahre vor

Gelöst


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

mehr als 4 Jahre vor

Gelöst


n-th digit of write-down all numbers
Write down number as 123456789101112131415161718192021222324252627282930... what's the n-th digit? input n and get the digit.

mehr als 4 Jahre vor

Gelöst


add one to x

mehr als 4 Jahre vor

Gelöst


Concatenate input positive integers to obtain a maximum.
Input some integers, you need to concatenate them to obtain a maximum integer. Neither use library function "perms" to list all ...

mehr als 4 Jahre vor

Gelöst


Solve the picross! (Hard)
Solve the picross! http://en.wikipedia.org/wiki/Nonogram The arguments (horz and vert) are cells containing the clues, e.g...

mehr als 4 Jahre vor

Gelöst


Return factorial of input n
example : input :n=4 output=24

mehr als 4 Jahre vor

Gelöst


Determine Poker Hand Winner
Determine the poker hand winner from two hands of cards (each hand will contain the same number of cards between five and thirte...

mehr als 4 Jahre vor

Gelöst


Find Current in R circuit.
Find the current in an R circuit for a given input of Voltage (V) and Resistance(R).

mehr als 4 Jahre vor

Gelöst


FIND SUM
Given x,y . Find Sum

mehr als 4 Jahre vor

Gelöst


Calculate the volume of the sphere
Given radius r, calculate the volume of the sphere . Round to 2nd decimal place ex : input : r = 4 output : V = 268.08...

mehr als 4 Jahre vor

Gelöst


Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...

mehr als 4 Jahre vor

Gelöst


Draw "C" in a zero matrix
Given a x-by-x matrix filled with zeros (x> 4). Use 1 to draw a letter C into it! Like this: x = 5, y = 1 1 1 1 1 1 0 0 0 0 ...

mehr als 4 Jahre vor

Gelöst


Create the Ulam spiral
Have you ever seen this wonderful spiral ? The Ulam Spiral is arranging prime numbers in a clockwise spiral starting in 0. Give...

mehr als 4 Jahre vor

Gelöst


Check if a matrix Diagonal is equal to its secondary diagonal
Your function should return True if the secondary diagonal is equal to diagonal, and False otherwise. Eg: M = [1 2 1 ...

mehr als 4 Jahre vor

Gelöst


Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.

mehr als 4 Jahre vor

Gelöst


Create a vector of equally spaced numbers
A starting element a and ending element b is provided. You need to devise a solution to create a vector that has equally spaced ...

mehr als 4 Jahre vor

Gelöst


Equally spaced vector
Create a vector consisting of equally spaced numbers. Provide arguements for your function 'equal_vectors(a,b,N)' where a is the...

mehr als 4 Jahre vor

Gelöst


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

mehr als 4 Jahre vor

Mehr laden