문제


The Yellowstone Permutation
The Yellowstone Permutation is a sequence of positive integers, defined by the following rules: No term is repeated. Given n t...

대략 1년 전 | 2 | 솔버 수: 7

문제를 풀었습니다


Matrix Pattern 10

1년 초과 전

문제를 풀었습니다


Matrix Pattern 5

1년 초과 전

문제를 풀었습니다


Matrix Pattern 7

1년 초과 전

문제를 풀었습니다


Consecutive Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on the largest consecutive run of ...

1년 초과 전

문제를 풀었습니다


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

1년 초과 전

문제를 풀었습니다


IQpuzzler Preparation #2: Detect isolated zeros in a 2D matrix
Return true if any isolated single zeros are present in the input M-by-N matrix (zeros with all adjacent elements being non-zero...

1년 초과 전

문제를 풀었습니다


Palindrome Problem 1
Continued Problem 50033: A palindrome is one-thirteenth of the sum of and , where and are also palindrome. Give an example o...

1년 초과 전

문제를 풀었습니다


Rule of mixtures (composites) - lower and upper bounds (volumes)
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

1년 초과 전

문제를 풀었습니다


Convert sorting indices to ranks

1년 초과 전

문제를 풀었습니다


Set the Euler-Mascheroni constant with an identity using available MATLAB functions
Cody Problem <https://www.mathworks.com/matlabcentral/cody/problems/42826 42826> asked us to estimate the <https://en.wikipedia....

1년 초과 전

문제를 풀었습니다


Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

1년 초과 전

문제를 풀었습니다


Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

1년 초과 전

문제를 풀었습니다


Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

1년 초과 전

문제를 풀었습니다


Center of Mass(es) in 3D Space

1년 초과 전

문제를 풀었습니다


Create the flag of Ramumbia
The little known nation of Ramumbia has a very simple flag. It is made up of vertical stripes, Red, Green, Blue, that are equall...

1년 초과 전

문제를 풀었습니다


Approximation of an integral - Riemann sum
Riemann sum is a certain kind of approximation of an integral by a finite sum. In this problem, I want you to use Midpoint Riem...

1년 초과 전

문제를 풀었습니다


String Manipulator
Write a script that takes a string as an input and returns a cell array containing – I. the count of vowels. II. Find the ind...

1년 초과 전

문제를 풀었습니다


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

1년 초과 전

문제를 풀었습니다


Time reverse indices
Time reverse the index values as follows IndexIn = [7 1 0] IndexOut = [7 6 0] Note that the indices are zero based and so...

1년 초과 전

문제를 풀었습니다


Toads and Frogs Puzzle
On a one-dimensional board with n + m + 1 cells, there are n counters in the first n cells representing Toads and m counters in ...

1년 초과 전

문제를 풀었습니다


XOR fibonacci
a & b are the first two terms in the xor fibonacci sequence. Find the nth term of that sequence. XOR fib sequence is that in ...

1년 초과 전

문제를 풀었습니다


Find the shortest distance between a point and a straight line.
Given the Cartesian coordinates of three points A, B and C (in a flat Euclidean space), find the shortest distance between the ...

1년 초과 전

문제를 풀었습니다


How many ways?
Create a program to determine in how many ways can a regular n-gon be divided into n-2 triangles?

1년 초과 전

문제를 풀었습니다


Intrication de deux vecteurs
Ecrire une fonction "intric" qui prend en entrée un vecteur ligne v1 et un vecteur ligne v2 et renvoie le vecteur ligne vres don...

1년 초과 전

문제를 풀었습니다


Round up to π

1년 초과 전

문제를 풀었습니다


Modulo of sum of square of first n primes with 24

1년 초과 전

문제를 풀었습니다


Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

1년 초과 전

문제를 풀었습니다


Return longest string in 1-D array of strings
Find the longest string in an array of strings. Return an empty string if the initial array is empty. If there are multiple stri...

1년 초과 전

문제를 풀었습니다


Sort vector by number of prime factors of each element
Sort a given array based on how many prime factors each term has. Sort from least to greatest and output original values. Ex: ...

1년 초과 전

더 보기