문제를 풀었습니다


Calculate Triangle Area, A, B and Gamma is given.

대략 5년 전

문제를 풀었습니다


Taxi vs Euclides

대략 5년 전

문제를 풀었습니다


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

대략 5년 전

문제를 풀었습니다


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

대략 5년 전

문제를 풀었습니다


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

대략 5년 전

문제를 풀었습니다


average for three points
how to calculate the average (for each three values of y) y=[2 3 5 3 4 2 3 4 5 3 2 7 8 6 5 5 4 3 3 3 2 ] you ...

대략 5년 전

문제를 풀었습니다


commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

대략 5년 전

문제를 풀었습니다


Flip the Image

대략 5년 전

문제를 풀었습니다


Rotate the Image

대략 5년 전

문제를 풀었습니다


Swap Red and Blue

대략 5년 전

문제를 풀었습니다


Gray Image

대략 5년 전

문제를 풀었습니다


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

대략 5년 전

문제를 풀었습니다


Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...

대략 5년 전

문제를 풀었습니다


odd number odd sum
How many three digit numbers are there whose sum of the digits is odd?

대략 5년 전

문제를 풀었습니다


Number Puzzles - 001

대략 5년 전

문제를 풀었습니다


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

대략 5년 전

문제를 풀었습니다


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

대략 5년 전

문제를 풀었습니다


List the erauqs

대략 5년 전

문제를 풀었습니다


List the emirps

대략 5년 전

문제를 풀었습니다


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

대략 5년 전

문제를 풀었습니다


Add a vector to a matrix
Given a matrix |mat| of size |mXn| and a row vector |v| of size |1Xs|, return a matrix with |m+1| rows that conatains |mat| over...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Draw a '4' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '9' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '6' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '8' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '3' in a zero matrix!

대략 5년 전

문제를 풀었습니다


Draw a '2' in a zero matrix!

대략 5년 전

더 보기