문제를 풀었습니다


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

8년 초과 전

문제를 풀었습니다


true or false
if the matrix has a zero, return true. else, return false

8년 초과 전

문제를 풀었습니다


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

8년 초과 전

문제를 풀었습니다


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

8년 초과 전

문제를 풀었습니다


raise 1/3
Raise a number to 1/3 power.

8년 초과 전

문제를 풀었습니다


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

8년 초과 전

문제를 풀었습니다


Area of square
Find the area of a square whose diagonal length is given as x.

8년 초과 전

문제를 풀었습니다


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

8년 초과 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

8년 초과 전

문제를 풀었습니다


Speed of car travelling x meters in y seconds
What is the speed of a car if the car travelled x meters in y seconds? Supply the answer in m/s.

8년 초과 전

문제를 풀었습니다


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

8년 초과 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

8년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

8년 초과 전

문제를 풀었습니다


Stop a ZigZag scanning N*N Matrix at any diag you want
Suppose that we have a 2-D matrix and we try to obtain a 1-D array in zig-zag order, but not all values of our 2-D matrix e...

8년 초과 전

문제를 풀었습니다


Adaptive ZigZag
Unfold a 2-D matrix to a 1-D array in Adaptive zig-zag order, e.g., for matrix [ 1 2 5 6; 3 4 7 8; 9 10 13 14; ...

8년 초과 전

문제를 풀었습니다


Assert yourself! Hack the assert function to pass this test.
Have you ever wanted to test out one of those hacks you have seen which "games" the problem by simply overwriting the assert met...

8년 초과 전

문제를 풀었습니다


Red and green towers
Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...

8년 초과 전

문제를 풀었습니다


"Bubblegum, Bubblegum, in a dish; How many pieces do you wish?"
The child's game "bubblegum, bubblegum, in a dish; how many pieces do you wish?" is a way of eliminating players until a single ...

8년 초과 전

문제를 풀었습니다


Finding operators in a MATLAB function in a string.
The aim is to find if there is an operator inside a MATLAB function call in a formula. The input is a string and the output is a...

8년 초과 전

문제를 풀었습니다


2D Indexes
Given in input the maximum degree P, the algorithm furnishes a ordered list of two dimensional vectors [i,j] i,j>=0 such that i+...

8년 초과 전

문제를 풀었습니다


3D indexes
Generalisation in 3 dimensions of the <http://nl.mathworks.com/matlabcentral/cody/problems/43117-2d-indexes Problem 43117. 2D I...

8년 초과 전

문제를 풀었습니다


Put all numbers in a string inside square brackets
Examples: 'left3down2' -> 'left[3]down[2]' 'fiat500' -> 'fiat[500]'

8년 초과 전

문제를 풀었습니다


Integer complexity (Large numbers)
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/42831-integer-complexity Problem 42831>, this problem aims to ...

8년 초과 전

문제를 풀었습니다


Maximize Non-Co-Planar Points in an N-Cube
This Challenge is to find a set with the maximum number of integer points that create planar surfaces with a maximum of three po...

8년 초과 전

문제를 풀었습니다


Number of paths on a 3d grid
This problem is inspired by <https://www.mathworks.com/matlabcentral/cody/problems/1483-number-of-paths-on-a-grid>, which you mi...

8년 초과 전

문제를 풀었습니다


Number of paths on a n-dimensional grid
This problem is inspired by <https://www.mathworks.com/matlabcentral/cody/problems/1483-number-of-paths-on-a-grid> and <https:/...

8년 초과 전

문제를 풀었습니다


Number of active Cody players by date
I'm looking to start a series of problems related to web scraping. In this problem, you are given a date in 'dd mmm yyyy' format...

8년 초과 전

문제를 풀었습니다


Find two triangular numbers whose sum is input.
Find two triangular numbers whose sum is _input_. Note: The difference beetween the triangular numbers should be minimum.

8년 초과 전

문제를 풀었습니다


Hilbert Scan Algorithm
As Zig-Zag and Horizontal ... we have also a < <Hilbert> <Scan> > as shown in this article <http://link.springer.com/chapter/10....

8년 초과 전

문제를 풀었습니다


Optimum Egyptian Fractions
Following problem was inspired by <http://www.mathworks.com/matlabcentral/cody/problems/2126-split-bread-like-the-pharaohs-egypt...

8년 초과 전

더 보기