문제를 풀었습니다


Draw a '5' in a zero matrix!

2년 초과 전

문제를 풀었습니다


Find x rows where the sum of the numbers is the maximum

2년 초과 전

문제를 풀었습니다


Draw a '1' in a zero matrix!

2년 초과 전

문제를 풀었습니다


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

2년 초과 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

2년 초과 전

문제를 풀었습니다


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

2년 초과 전

문제를 풀었습니다


Find Logic 17

2년 초과 전

문제를 풀었습니다


Find Logic 7

2년 초과 전

문제를 풀었습니다


Find Logic 1

2년 초과 전

문제를 풀었습니다


Find Logic 16

2년 초과 전

문제를 풀었습니다


Find Logic 14

2년 초과 전

문제를 풀었습니다


Find Logic 15

2년 초과 전

문제를 풀었습니다


Find Logic 13

2년 초과 전

문제를 풀었습니다


Find Logic 12

2년 초과 전

문제를 풀었습니다


Find Logic 11

2년 초과 전

문제를 풀었습니다


Find Logic 10

2년 초과 전

문제를 풀었습니다


Find Logic 9

2년 초과 전

문제를 풀었습니다


Find Logic 8

2년 초과 전

문제를 풀었습니다


Find Logic 6

2년 초과 전

문제를 풀었습니다


Find Logic 4

2년 초과 전

문제를 풀었습니다


Find Logic 18

2년 초과 전

문제를 풀었습니다


Find Logic 19

2년 초과 전

문제를 풀었습니다


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

2년 초과 전

문제를 풀었습니다


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

2년 초과 전

문제를 풀었습니다


Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

2년 초과 전

문제를 풀었습니다


Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

2년 초과 전

문제를 풀었습니다


Numbers with prime factors 2, 3 and 5.
Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are...

2년 초과 전

문제를 풀었습니다


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

2년 초과 전

문제를 풀었습니다


Proper Factors
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...

2년 초과 전

문제를 풀었습니다


Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...

2년 초과 전

더 보기