문제를 풀었습니다


Find two triangular numbers whose sum is input.
Find two triangular numbers whose sum is _input_. Note: The difference beetween the triangular numbers should be minimum.

8년 초과 전

문제를 풀었습니다


Find the mean of a 2-D matrix after excluding elements of specified sub-matrix
You need to find the mean of a 2-D matrix after excluding elements which form an inner sub-matrix. e.g. If the input 2-D matrix ...

8년 초과 전

문제를 풀었습니다


Simple spirometer - find your lung capacity from number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

8년 초과 전

문제를 풀었습니다


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

8년 초과 전

문제를 풀었습니다


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

8년 초과 전

문제를 풀었습니다


Cell Operator *
Please implement operator * for cell: >> {2,3} * 2 ans = 1×4 cell array [2] [3] [2] [3] >> {2,3} * [2 3]...

거의 9년 전

문제를 풀었습니다


Replace Nan!
Replace Nan in the given vector(v) with 9999.

거의 9년 전

문제를 풀었습니다


NCHOOSEK - Time Optimization
*Input* * *V* —— Set of all choices, a vector of N, N < 100 * *K* —— Number of selected choices, a scalar, 0 <= K <= N ...

거의 9년 전

문제를 풀었습니다


Mastermind I: Solve all 1296 cases
<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

거의 9년 전

문제를 풀었습니다


I'm going to enjoy watching you calculate, Mr Anderson
Smith numbers are numbers such that if you add up all of the digits in the number, that sum equals the sum of all of the digits ...

거의 9년 전

문제를 풀었습니다


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

거의 9년 전

문제를 풀었습니다


How brilliant are you?
A Brilliant number is defined as a number with two prime factors, both of which have the same number of digits. Some examples: ...

거의 9년 전

문제를 풀었습니다


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

거의 9년 전

문제를 풀었습니다


Logistic map
The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns x_n for an n > 0 into a polynomial of r. ...

거의 9년 전

문제를 풀었습니다


Sum of self power series
The series, 1^1,2^2,3^3,4^4,.... Find the sum of such series when x terms are given.

거의 9년 전

문제를 풀었습니다


calculate PI without using pi function
There are many methods to get the pi(Ratio of circumference to diameter). You should get pi without using the pi function in M...

거의 9년 전

문제를 풀었습니다


Where's Waldo?
Find the string 'Waldo' in the character matrix given and return the indices of where you found him as a 4x2 matrix whose contai...

거의 9년 전

문제를 풀었습니다


Hilbert Scan Algorithm
As Zig-Zag and Horizontal ... we have also a < <Hilbert> <Scan> > as shown in this article <http://link.springer.com/chapter/10....

거의 9년 전

문제를 풀었습니다


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

거의 9년 전

문제를 풀었습니다


Find my secret function II
If give my function a x value it will give me a y value, so find the secret of it: Examples: input x=23 ---- >>> output y=1...

거의 9년 전

문제를 풀었습니다


Find my secret function IV
We use the same secret function used on the past "Find my secret function ..." x=23 -------->> y=3 X=1000 ------->> 163

거의 9년 전

문제를 풀었습니다


Find my secret function I
If give my function a x value it will give me a y value, so find the secret of it: Examples: input x=[2 5 6 8 9] ---- >>> o...

거의 9년 전

문제를 풀었습니다


Find my secret function III
only write a function gives you an outputs as expls: input: x=2 ------->>> Output: Y=1 input: x=100 ------->>> Output: Y=...

거의 9년 전

문제를 풀었습니다


Can the given sides form a triangle?
Can the three given sides form a triangle?

대략 9년 전

문제를 풀었습니다


Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

대략 9년 전

문제를 풀었습니다


Recycled Numbers (CodeJam Qualification Round 2012)
Let's say a pair of distinct positive integers ( _n_ , _m_ ) is recycled if you can obtain _m_ by moving some digits from the ...

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


Construct a "diagAdiag" matrix
Construct a matrix whose elements begin from 1 and end at n^2 with the order of arrangement as shown below: For: n = 4 ...

대략 9년 전

문제를 풀었습니다


Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...

대략 9년 전

문제를 풀었습니다


Fractal: area and perimeter of Koch snowflake
Starting from an equilateral triangle with side 's', what is the area and perimeter of Koch snowflake at n'th recursive iteratio...

대략 9년 전

더 보기