문제를 풀었습니다


Draw matrix 'Swiss flag'( Euro 2020)
Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

3년 초과 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

3년 초과 전

문제를 풀었습니다


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

3년 초과 전

문제를 풀었습니다


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

3년 초과 전

문제를 풀었습니다


Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

3년 초과 전

문제를 풀었습니다


Draw a '5' in a zero matrix!

3년 초과 전

문제를 풀었습니다


Interior angles
Find the sum of interior angles for polygon of x sides.

3년 초과 전

문제를 풀었습니다


Check if any duplicates in your data
Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9]...

3년 초과 전

문제를 풀었습니다


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

3년 초과 전

문제를 풀었습니다


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

3년 초과 전

문제를 풀었습니다


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

3년 초과 전

문제를 풀었습니다


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

3년 초과 전

문제를 풀었습니다


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

3년 초과 전

문제를 풀었습니다


Find all repeated numbers
For a given vector, find all numbers that repeated 2 times or more than 2 times. Example: A=[1 2 3 3 4 5 6 6 7] y=[3 ...

3년 초과 전

문제를 풀었습니다


Good Morning :)
Just submit your solution between 05:00:00 and 10:00:00 (AM = Ante Meridiem = Before Noon). _Note : Consider Cody Server Time...

3년 초과 전

문제를 풀었습니다


Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

3년 초과 전

문제를 풀었습니다


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=[...

3년 초과 전

문제를 풀었습니다


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

3년 초과 전

문제를 풀었습니다


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

3년 초과 전

문제를 풀었습니다


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

3년 초과 전

문제를 풀었습니다


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

3년 초과 전

문제를 풀었습니다


calculate Compound Intrest
Calculate Compound Intrest for given data

3년 초과 전

더 보기