문제를 풀었습니다


num5
num

9개월 전

문제를 풀었습니다


num3
nam

9개월 전

문제를 풀었습니다


num4
nmjhg

9개월 전

문제를 풀었습니다


num8
num

9개월 전

문제를 풀었습니다


num9
num

9개월 전

문제를 풀었습니다


num6
num

9개월 전

문제를 풀었습니다


num7
num

9개월 전

문제를 풀었습니다


nam2
nam

9개월 전

문제를 풀었습니다


num
num

9개월 전

문제를 풀었습니다


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

9개월 전

문제를 풀었습니다


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

9개월 전

문제를 풀었습니다


Rescale Scores
Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

9개월 전

문제를 풀었습니다


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

9개월 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

9개월 전

문제를 풀었습니다


Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

9개월 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

9개월 전

문제를 풀었습니다


swap sign sum & multiply castles
It is an easy problem, if you know the answer. Given a square matrix of NxN ordinary numbers. Initially place N identical indi...

9개월 전

문제를 풀었습니다


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

9개월 전

문제를 풀었습니다


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

9개월 전

문제를 풀었습니다


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

9개월 전

문제를 풀었습니다


Frequencies of prime gaps
Problem statement Given two positive integers n and , write a function which computes the frequency of the gap between two ...

9개월 전

문제를 풀었습니다


Find the first occurence of a given gap between two consecutive prime numbers
Problem statement Given a gap = p' - p between the two consecutive prime numbers p and p', find its first occurence, f. E...

9개월 전

문제를 풀었습니다


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

9개월 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and h=...

9개월 전

문제를 풀었습니다


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If p is the perimeter of a right angle triangle with integral length sides, { a, b, c }, there are exactly three solutions for p...

9개월 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

9개월 전

문제를 풀었습니다


Multiplication
Given 2 numbers a and b mulitply them

9개월 전

문제를 풀었습니다


Prime numbers which are the difference of two consecutive cubes
Problem statement Given a positive integer n greater than 2, find the prime numbers less or equal to n and which are the diff...

9개월 전

문제를 풀었습니다


Check Legendre's conjecture
Context and problem statement Legendre's conjecture states for a given positive integer n, there always exists at least one pri...

9개월 전

문제를 풀었습니다


List the near-square primes, p = n² + 1 (Landau's 4th problem)
Historical context At the 1912 International Congress of Mathematicians, Edmund Landau listed four basic problems about prime...

9개월 전

더 보기