문제를 풀었습니다


Determine if a number (x) is a power of another (n)
If the number x is indeed a power of n, then return true. Otherwise, return false. For example, if x = 9 and n =3, then pow = t...

대략 2개월 전

문제를 풀었습니다


Division
Divide a by b.

대략 2개월 전

문제를 풀었습니다


Aufbau principle
Given the order e=[1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p], find a vector x with these condi...

대략 2개월 전

문제를 풀었습니다


Red Cross ❌

대략 2개월 전

문제를 풀었습니다


Float like a cannonball
Given gravity on earth (g=9.81 [m/s/s]) find the distance s [m] by a cannonball propelled at a speed of u [m/s] from the origin ...

대략 2개월 전

문제를 풀었습니다


Get the value 100
Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the ...

대략 2개월 전

문제를 풀었습니다


Compute the perimeter of an ellipse
While the area of an ellipse is straightforward to compute, the perimeter (or circumference) is more complicated. The perimeter ...

대략 2개월 전

문제를 풀었습니다


Capitalize
Capitalize the 1st letter of each input. Other letters should be lowercase. For example - a='alphaS' >> 'Alphas' a='1...

대략 2개월 전

문제를 풀었습니다


Biggest Value in the (Neighbor)Hood
For this challenge you get two inputs: a matrix A and an integer value n. Your function should return a Matrix B of the same siz...

대략 2개월 전

문제를 풀었습니다


all possible subsets of set
Given a vector, return all possible subsets of the vector in a cell array. Properties of basic set theory is assumed to be valid...

대략 2개월 전

문제를 풀었습니다


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

대략 2개월 전

문제를 풀었습니다


Animated GIF Creator
This Challenge is to execute the Function Template which has a fully functional Animated GIF creator of a shape related to a Zer...

대략 2개월 전

문제를 풀었습니다


Instructions Following
Complete the function follow(s) which, for a given string (containing only the letters 'f', 'b', 'l', 'r'), calculates the final...

대략 2개월 전

문제를 풀었습니다


Write script that gives matrix like the following example:)
if x=2; y=[2 1; 1 1] if x=4; y=[4 3 2 1 3 3 2 1 0 2 2 1 0 0 1 1] if x=5; y=[5 4 3 2 ...

대략 2개월 전

문제를 풀었습니다


Multiplication
Multiply a and b.

대략 2개월 전

문제를 풀었습니다


speed vs size
The given string describes some MATLAB expressions such as 'pause(1)'. Compute its performance score = code size + run time in m...

대략 2개월 전

문제를 풀었습니다


Solve the Challenger puzzle

대략 2개월 전

문제를 풀었습니다


time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

대략 2개월 전

문제를 풀었습니다


GJam: 2013 Rd1a Bullseye Painting
<http://code.google.com/codejam/contests.html Google Code Jam> 2013 Round 1a Bullseye challenge is to determine how many full ri...

대략 2개월 전

문제를 풀었습니다


GJam 2013 Veterans: Hedge
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard Hedgemony>. This is the Large data set ...

대략 2개월 전

문제를 풀었습니다


Two fractions, one sum
Given a positive number x, write a MATLAB script that will tell you how many ways that the reciprocal of that number can be writ...

대략 2개월 전

문제를 풀었습니다


Addition II
find a+b+c+d

대략 2개월 전

문제를 풀었습니다


Approximate functions 2 (★★★★)

대략 2개월 전

문제를 풀었습니다


GJam 2017 Kickstart: Parentheses (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...

대략 2개월 전

문제를 풀었습니다


Alternating 1´s and 0´s in a matrix
Given an odd number n, write a function that creates a matrix y with dimension nxn alternating 1's and 0's, and starting with 1 ...

대략 2개월 전

문제를 풀었습니다


Last Digit of fibonacci number

대략 2개월 전

문제를 풀었습니다


Grid traversal
Given a line defined by (x1,y1) & (x2,y2),return the number of squares that the line crosses on the grid (a square is 1x1). ...

대략 2개월 전

문제를 풀었습니다


Juggler sequence revisited
This problem is related to <http://www.mathworks.com/matlabcentral/cody/problems/42835-return-the-sequence-element-ii Problem 42...

대략 2개월 전

문제를 풀었습니다


Look and say Conway's sequence
In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

대략 2개월 전

문제를 풀었습니다


Mann-Kendall Correlation
Write a function that returns the <http://en.wikipedia.org/wiki/Kendall_tau_rank_correlation_coefficient Mann-Kendall> correlati...

대략 2개월 전

더 보기