문제를 풀었습니다


Create a code for XNOR
Given two inputs, output XNOR of those two

9년 초과 전

문제를 풀었습니다


Create tangent function out of cosine only
Please don't use tangent and sine functions

9년 초과 전

문제를 풀었습니다


Create cosine function out of sine
Please dont use cos(x) directly

9년 초과 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

9년 초과 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

9년 초과 전

문제를 풀었습니다


Ceil Me Now
Get the ceiling of the input matrix

9년 초과 전

문제를 풀었습니다


BaeIsAlwaysRight
Output yes whatever bae says

9년 초과 전

답변 있음
Why is the factorial of 0 equal to 1?
A Factorial of a number n can defined as the total number of ways of selecting n different objects. For Example, total number ...

9년 초과 전 | 0

문제를 풀었습니다


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

9년 초과 전

문제를 풀었습니다


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

9년 초과 전

문제를 풀었습니다


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

9년 초과 전

문제를 풀었습니다


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

9년 초과 전

문제를 풀었습니다


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

9년 초과 전

문제를 풀었습니다


Product of Array
Given an array of numbers. Get the product of the array.

9년 초과 전

문제를 풀었습니다


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

9년 초과 전

문제를 풀었습니다


UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

9년 초과 전

문제를 풀었습니다


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

9년 초과 전

문제를 풀었습니다


The rabbit problem
Someone discovered that rabbits reproduce at the rate of fibonnaci so you just input the number and it will print the fibonnaci ...

9년 초과 전

문제를 풀었습니다


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

9년 초과 전

문제를 풀었습니다


Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

9년 초과 전

문제를 풀었습니다


Computing Wind chill
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

9년 초과 전

문제를 풀었습니다


What's size of TV?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...

9년 초과 전

문제를 풀었습니다


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

9년 초과 전

문제를 풀었습니다


Find out sum of prime number till given number
Find out sum of prime number till given number Example, if number is 10, then answer must be 17.

9년 초과 전

문제를 풀었습니다


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

9년 초과 전

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

9년 초과 전

문제를 풀었습니다


solve for y that is half as much as three less than one tenth of x
function y = half(x) y = (x * .1); end

9년 초과 전

문제를 풀었습니다


the fly, the train, the second train, and their Zeno's paradox
*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

9년 초과 전

더 보기