문제를 풀었습니다


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

거의 2년 전

문제를 풀었습니다


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

거의 2년 전

문제를 풀었습니다


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

거의 2년 전

문제를 풀었습니다


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

거의 2년 전

문제를 풀었습니다


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

거의 2년 전

문제를 풀었습니다


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

거의 2년 전

문제를 풀었습니다


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

거의 2년 전

문제를 풀었습니다


Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

거의 2년 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Draw a '7' in a zero matrix!

거의 2년 전

문제를 풀었습니다


Find Logic 23

거의 2년 전

문제를 풀었습니다


Converts numbers into characters
Converts numbers into characters

거의 2년 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

거의 2년 전

문제를 풀었습니다


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

거의 2년 전

문제를 풀었습니다


to the 2 all elements
to the 2 all elements

거의 2년 전

문제를 풀었습니다


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

거의 2년 전

문제를 풀었습니다


the average value of the elements
Calculate the average value of the elements in the array

거의 2년 전

문제를 풀었습니다


Double all elements in the array
Duplicate all elements in the array

거의 2년 전

문제를 풀었습니다


calculate the length of matrix
input 1 array, calculate the length

거의 2년 전

문제를 풀었습니다


Find Logic 10

거의 2년 전

문제를 풀었습니다


Find Logic 15

거의 2년 전

문제를 풀었습니다


Find Logic 18

거의 2년 전

문제를 풀었습니다


Find Logic 19

거의 2년 전

문제를 풀었습니다


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

거의 2년 전

문제를 풀었습니다


row removal
Consider a matrix and remove the first row of the matrix.

거의 2년 전

문제를 풀었습니다


Remove a specific column with min value
Remove the column that contain the min value in the matrix?

거의 2년 전

문제를 풀었습니다


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

거의 2년 전

문제를 풀었습니다


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

거의 2년 전

문제를 풀었습니다


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

거의 2년 전

문제를 풀었습니다


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

거의 2년 전

더 보기