문제를 풀었습니다


Valor absoluto de x
Dado uma entrada x, retornar o seu valor absoluto

거의 2년 전

문제를 풀었습니다


Given the name from the legend, return the handle
Write a function that will return the handle to the desired object. The input for this function will be a string which represent...

거의 2년 전

문제를 풀었습니다


Frequency Analysis of Text
Frequency analysis is a common task in cryptoanalysis. It is essentially counting the occurrences of alphabets (regardless of ca...

거의 2년 전

문제를 풀었습니다


Calculate vowel / consonant ratio of a string
Given a string, calculate the ratio of vowels to consonants for example : x = 'This is a very good Day!' y = 7/11

거의 2년 전

문제를 풀었습니다


Logical array indexing - part 1
Given an array |A| of size |p x q| , return an array |Y| of the same size such that the following conditions are satisfied. (...

거의 2년 전

문제를 풀었습니다


Find the altitudes of a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the coord...

거의 2년 전

문제를 풀었습니다


Solve an ODE: first-order linear equation
In the fall semester of [redacted], my professor for a course on ordinary differential equations said, “There are two groups of ...

거의 2년 전

문제를 풀었습니다


Classify numbers as abundant, deficient, or perfect
A number is perfect if the sum of its proper divisors (i.e., divisors excluding the number itself) is equal to itself. For examp...

거의 2년 전

문제를 풀었습니다


Property dispute!
Two neighbors have rectangular plots of land A and B. The surveyors give you the coordinates of each. If they overlap, there is ...

거의 2년 전

문제를 풀었습니다


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

거의 2년 전

문제


Family Savings Analysis
Given the bank accounts of individuals defined by a list of tuples containing the last name, first name, and savings: accounts ...

거의 2년 전 | 0 | 솔버 수: 6

문제를 풀었습니다


Deduce the pattern behind the sequence

거의 2년 전

문제를 풀었습니다


Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

거의 2년 전

문제를 풀었습니다


Calculate the h-index
H-index is a powerful tool for quantifying the scientific contribution of a researcher. H-index is defined as follows (source - ...

거의 2년 전

문제를 풀었습니다


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

거의 2년 전

문제를 풀었습니다


Area of polygon
Given the vertices in vectors X,Y, return the area of the polygon they define.

거의 2년 전

문제를 풀었습니다


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

거의 2년 전

문제를 풀었습니다


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

거의 2년 전

문제를 풀었습니다


Google Drive: MATLAB mat file download
Matlab 'mat' files are notoriously hard to email and download as they are binary files. To make a 'mat' file downloadable from ...

거의 2년 전

문제를 풀었습니다


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. ...

거의 2년 전

문제를 풀었습니다


Repeat string n times
You will be provided a string (s = 'string1_') a starting point (num1 = 6) (always bigger than or equal to zero) and n (n = 3)...

거의 2년 전

문제를 풀었습니다


Generate a list of composite numbers

거의 2년 전

문제를 풀었습니다


how many of the entries are positive?
Given x= sin(linspace(0,10*pi,100)), how many of the entries are positive?

거의 2년 전

문제를 풀었습니다


Prime number check (★★)
One way to see if a number x is prime is to compute the remainders obtained when dividing x by all integers from 2 to √(x). If x...

거의 2년 전

문제를 풀었습니다


PIN code III

거의 2년 전

문제를 풀었습니다


Area of right triangle
Given a hypotenuse and a leg , calculate the area of right triangle.

거의 2년 전

문제를 풀었습니다


Determine the potential energy in a springrope which hangs over from a bridge
The task is to figure out the energy a person with mass has when hung on a rope over a bridge when given the length from the sus...

거의 2년 전

문제를 풀었습니다


Make visible max values
Make visible maximum values of rows input = [1 2 3 4 5; 6 9 8 2 1; 2 1 4 5 8; 1 9 7 9 2]; ...

거의 2년 전

문제를 풀었습니다


Add non-triangular numbers
The nth triangular number is the sum of the first n positive integers. The sequence of triangular numbers starts 1, 3, 6, 10, 15...

거의 2년 전

문제를 풀었습니다


Creating a matrix by taking shifted copies of a given vector v as columns
This problem is the same as the problem 761 except that here we are testing it for any given vector ; a row or column vector. Th...

거의 2년 전

더 보기