문제를 풀었습니다


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

3년 초과 전

문제를 풀었습니다


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

3년 초과 전

문제를 풀었습니다


Generate pi using logarithm
Generate pi using logarithm

3년 초과 전

문제를 풀었습니다


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

3년 초과 전

문제를 풀었습니다


Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo? Un número primo es cualquier número que solamente se puede dividir por 1 y ...

3년 초과 전

문제를 풀었습니다


Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...

3년 초과 전

문제를 풀었습니다


persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

3년 초과 전

문제를 풀었습니다


provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to...

3년 초과 전

문제를 풀었습니다


Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...

3년 초과 전

문제를 풀었습니다


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

3년 초과 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

3년 초과 전

문제를 풀었습니다


Combination logic
Create an algorithm in MATLAB that calculate the combination for the given positive integers n and k as inputs. When k > n, the ...

3년 초과 전

문제를 풀었습니다


Probability of red tulips (at both ends of a row)
I planted tulip bulbs in a row on my flower bed. I thought that I had planted white tulips all. However, later, it turned out t...

3년 초과 전

문제를 풀었습니다


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

3년 초과 전

문제를 풀었습니다


Find Logic 24

3년 초과 전

문제를 풀었습니다


Find Logic 23

3년 초과 전

문제를 풀었습니다


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

3년 초과 전

문제를 풀었습니다


Fermat's Last Theorem - Fermat's conjecture
Fermat's Last Theorem (sometimes called Fermat's conjecture, especially in older texts) states that no three positive integers a...

3년 초과 전

문제를 풀었습니다


Given a matrix, return the last eigen value
Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

3년 초과 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

3년 초과 전

문제를 풀었습니다


Perfect number

3년 초과 전

문제를 풀었습니다


Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2] ...

3년 초과 전

문제를 풀었습니다


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

3년 초과 전

문제를 풀었습니다


Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

3년 초과 전

문제를 풀었습니다


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

3년 초과 전

문제를 풀었습니다


Variable_Addition
be able to add any variable to the number one

3년 초과 전

문제를 풀었습니다


Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

3년 초과 전

문제를 풀었습니다


Check transmitted data follow even parity (True or false)
Check transmitted data follow even parity (True or false) <http://en.wikipedia.org/wiki/Parity_bit/ Parity Bit> Say, '010...

3년 초과 전

문제를 풀었습니다


Do operation as per given string
Do operation as per given string Example: '3*5' then answer must be 15; '3+5' then answer must be 8; '35' then answer ...

3년 초과 전

문제를 풀었습니다


Find Excess 3 code of given decimal number.
Find Excess 3 code of given binary number. <http://en.wikipedia.org/wiki/Excess-3/ Excess-3> In XS-3, numbers are represe...

3년 초과 전

더 보기