解決済み


Write c^3 as sum of two squares a^2+b^2
write c^3 as sum of two squares a^2+b^2. a and b must be integer and greater than zero. For example 5^3 = 2^2 + 11^2 5...

約8年 前

解決済み


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

約8年 前

解決済み


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

約8年 前

解決済み


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

約8年 前

解決済み


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

約8年 前

解決済み


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

8年以上 前

解決済み


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

8年以上 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

8年以上 前

解決済み


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

8年以上 前

解決済み


Sum two matrices
Take two incoming matrices, and sum them

8年以上 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

8年以上 前

解決済み


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

8年以上 前

解決済み


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

8年以上 前

解決済み


Calculate the sum of two polynomials
Calculate the sum of two polynomials if they are written in notation with their coefficients. example: a=[3 4 5]; b=[...

8年以上 前

解決済み


Sort the prime numbers in each row of a 3x3 matrix
Considering a 3x3 matrix A, sort the prime numbers of each row in ascending order. For exemple: input A=[5 8 2 4; ...

8年以上 前

解決済み


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

8年以上 前

解決済み


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

8年以上 前

解決済み


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

8年以上 前

解決済み


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

8年以上 前

解決済み


Who is the baby and who is the daddy in this family?
Given an array of numbers that shows the characteristcs of all family members, find who is the baby and who is daddy in this fam...

8年以上 前

解決済み


Add two hex numbers
Add two hex numbers

8年以上 前

解決済み


Halder function
Find the halder function value of a number

8年以上 前

解決済み


Find remainder when x is divided by 3
Find remainder when x is divided by 3

8年以上 前

解決済み


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

8年以上 前

解決済み


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

8年以上 前

解決済み


Delete the column with all 0 !
Delete the column with all 0 data in a matrix(x). e.g. input x = 1 0 0 4 5 0 7 0 ...

8年以上 前

解決済み


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

8年以上 前

解決済み


Replace Nan!
Replace Nan in the given vector(v) with 9999.

8年以上 前

解決済み


Hack not this Test Suite you will
Another Hack 10000 Challenge. I am thinking of an integer between 1 and 10000. Return a value between 1 and 10000. I ma...

8年以上 前

解決済み


normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,...

8年以上 前

さらに読み込む