문제를 풀었습니다


2
2

대략 9년 전

문제를 풀었습니다


3
2

대략 9년 전

문제를 풀었습니다


helo
hi

대략 9년 전

문제를 풀었습니다


gasp
matlab

대략 9년 전

문제를 풀었습니다


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

대략 9년 전

문제를 풀었습니다


find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

대략 9년 전

문제를 풀었습니다


Change input vector
If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

대략 9년 전

문제를 풀었습니다


cheating technique2
there are some ways to get hints just by looking at the test suits to cheat. try.

대략 9년 전

문제를 풀었습니다


make an eye matrix which element is 1:n
for a given input n, make an n by n matrix which contains elements 1:n for example input =5 output = [1 0 0 0 0;0 2 0 0 0; 0...

대략 9년 전

문제를 풀었습니다


determine if
determine if the elements of a matrix is a nan and return true

대략 9년 전

문제를 풀었습니다


cheating technique1
in these cody problems, there is a way to cheat. find out how people cheat.

대략 9년 전

문제를 풀었습니다


find the 'M'
for an input x, return 1 at the location of the letter 'M'

대략 9년 전

문제를 풀었습니다


Find the product of the positive elements above the main diagonal.
Example Input A=[1 2; -3 0] Output 2

대략 9년 전

문제를 풀었습니다


y=x
y=x

대략 9년 전

문제를 풀었습니다


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

대략 9년 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

대략 9년 전

문제를 풀었습니다


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

대략 9년 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

대략 9년 전

문제를 풀었습니다


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

대략 9년 전

문제를 풀었습니다


Find perfect placement of non-rotating dominoes (easier)
Given a list of ordered pairs, find the order they should be placed in a line, such that the sum of the absolute values of the d...

대략 9년 전

문제를 풀었습니다


give nth decimal place of pi
max 15th place after the decimal point is ok for now

대략 9년 전

문제를 풀었습니다


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

대략 9년 전

문제를 풀었습니다


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

대략 9년 전

문제를 풀었습니다


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

대략 9년 전

문제를 풀었습니다


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

대략 9년 전

문제를 풀었습니다


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

대략 9년 전

문제를 풀었습니다


Add two hex numbers
Add two hex numbers

대략 9년 전

문제를 풀었습니다


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

대략 9년 전

문제를 풀었습니다


Make random permutation
Make random permutation that consist of random number from 1 to n.

대략 9년 전

문제를 풀었습니다


Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Input is each coefficient of polynomial. For example, a=[4 ...

대략 9년 전

더 보기