Community Profile

# Garrett Pesi

48 2018 이후 총 참여 횟수

#### Garrett Pesi's 배지

세부 정보 보기...

참여 게시물
보기 기준

해결됨

Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

약 3년 전

해결됨

started with 3 cookies and you never ate any how many are left

약 3년 전

해결됨

Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

약 3년 전

해결됨

The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

약 3년 전

해결됨

Chicken Race
2 chickens, Pete and Fred, compete in a 100 meter race. Pete runs at a velocity of vp meter/second and Fred is slower, running ...

약 3년 전

해결됨

Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

약 3년 전

해결됨

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

약 3년 전

해결됨

Can you beat the lottery?
Well this one you may not get every time, but it is a lottery! Here is the code that generates the lottery numbers (you can try ...

약 3년 전

해결됨

Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

약 3년 전

해결됨

Elapsed time is -0.005204 seconds.
Write a function that takes less than zero seconds to execute, as measured using tic and toc. For repeatability, the test case p...

약 3년 전

해결됨

약 3년 전

해결됨

Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

약 3년 전

해결됨

What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

약 3년 전

해결됨

Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

약 3년 전

해결됨

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

약 3년 전

해결됨

Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

약 3년 전

해결됨

The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

약 3년 전

해결됨

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

약 3년 전

해결됨

Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

약 3년 전

해결됨

Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

약 3년 전

해결됨

약 3년 전

해결됨

Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

약 3년 전

해결됨

How do you make seven even?
Take away the s.

약 3년 전

해결됨

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

약 3년 전

해결됨

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

약 3년 전

해결됨

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

약 3년 전

해결됨

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

약 3년 전

해결됨

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

약 3년 전

해결됨

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

약 3년 전

해결됨

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

약 3년 전