문제를 풀었습니다


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

대략 1년 전

문제를 풀었습니다


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

대략 1년 전

문제를 풀었습니다


edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

대략 1년 전

문제를 풀었습니다


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

대략 1년 전

문제를 풀었습니다


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

대략 1년 전

문제를 풀었습니다


How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

대략 1년 전

문제를 풀었습니다


Find the inverse permutation
Given a permutation vector perm (a vector of n elements containing all the elements from 1 to n in some order), return the permu...

대략 1년 전

문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

대략 1년 전

문제를 풀었습니다


Creating a code via test suite :)
Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle

대략 1년 전

문제를 풀었습니다


Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

대략 1년 전

문제를 풀었습니다


BaeIsAlwaysRight
Output yes whatever bae says

대략 1년 전

문제를 풀었습니다


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; ...

대략 1년 전

문제를 풀었습니다


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

대략 1년 전

문제를 풀었습니다


Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1...

대략 1년 전

문제를 풀었습니다


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

대략 1년 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

대략 1년 전

문제를 풀었습니다


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

대략 1년 전

문제를 풀었습니다


Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

대략 1년 전

문제를 풀었습니다


Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...

대략 1년 전

문제를 풀었습니다


Find the closest e-abundant numbers
An abundant number is an integer whose sum of its positive proper divisors—or the sum of its divisors excluding itself—exceeds ...

대략 1년 전

문제를 풀었습니다


Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...

대략 1년 전

문제를 풀었습니다


Matrix Diagonal Sum
Given a square matrix A of size n x n, write a function to compute the sum of the elements on both the main diagonal and the ant...

대략 1년 전

문제를 풀었습니다


Permuted Multiples: Project Euler Problem 52
Return the smallest positive integer, x, for which x, 2x, 3x, 4x, 5x, and 6x, all contain the same digits but in different order...

대략 1년 전

문제를 풀었습니다


Sum powers of e-divisors
In number theory the function produces the sum of divisors of an integer raised to the power . Setting sums the divisors, as ...

대략 1년 전

문제를 풀었습니다


Create a fibonacci series

대략 1년 전

문제를 풀었습니다


List e-perfect numbers
A perfect number is an integer that equals the sum of its positive proper divisors—or the sum of its divisors excluding itself. ...

대략 1년 전

문제를 풀었습니다


Count the e-divisors of an integer
Cody Problem 2664 asks us to count the divisors of an integer, and Cody Problem 60843 involves listing the e-divisors of an inte...

대략 1년 전

문제를 풀었습니다


Determine the e-divisors of an integer
From MathWorld: is called an e-divisor (or exponential divisor) of a number with prime factorization if and where for...

대략 1년 전

문제를 풀었습니다


Test x = 1
Write a function to make the variable x = 1

대략 1년 전

문제를 풀었습니다


Count Vowels at Even Indices
Write a function `vowelEvenIndices` that counts the number of vowels (a, e, i, o, u) located at even indices (0-based) in a give...

대략 1년 전

더 보기