Gelöst


Find the quantization index of an analog value using a 6-bit quantizer.
Given a sinusoidal waveform x(t)=4.5*sin(2*pi*100*t) is sampled at 8000 sample per second. Assume that signal range is between -...

etwa 2 Monate vor

Gelöst


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

etwa 2 Monate vor

Gelöst


Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

etwa 2 Monate vor

Gelöst


Speed of light:Experiment
in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

etwa 2 Monate vor

Gelöst


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

etwa 2 Monate vor

Gelöst


Logic 7

etwa 2 Monate vor

Gelöst


Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...

etwa 2 Monate vor

Problem


Compute a sequence with the whyphi sieve
A few problems on Cody involve sieving. For example, Cody Problem 45367 involves the famous Sieve of Eratosthenes. CP 50811uses ...

etwa 2 Monate vor | 0 | 3 Lösungsvorschläge

Gelöst


USC Fall 2012 ACM : Code Word Minimum Flipped Bits
This Challenge is to solve Question A of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012 Contest>. Given ...

etwa 2 Monate vor

Gelöst


Easy Sequences 40: Quadratic Congruence
Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

etwa 2 Monate vor

Gelöst


Alternate Arrangement
Determine the ways of arranging 'm' men and 'w' women alternatively in a row of 's' seats. Assumptions : s<m and s<w

etwa 2 Monate vor

Gelöst


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

etwa 2 Monate vor

Gelöst


Opposite point of the earth, what is the antipodal of a point ?
Given two strings(lat and long) that represent the geographic coordinates of a point in the earth, you have to find out what is ...

etwa 2 Monate vor

Problem


Alert a city about a spill
Problem statement Cody Problem 54750 involved determining the length of a stream affected by a spill. Any municipalities within...

etwa 2 Monate vor | 2 | 4 Lösungsvorschläge

Problem


Find primes and integers that solve an equation
Write a function to find all primes and non-negative integers that solve the equation where is an integer. If there are no...

etwa 2 Monate vor | 1 | 6 Lösungsvorschläge

Gelöst


Find the triplet
Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...

etwa 2 Monate vor

Gelöst


Cos x
Retorne o cosseno de x, onde x está em radianos

etwa 2 Monate vor

Gelöst


Número de elementos do array
Retorne o número de elementos de um array

etwa 2 Monate vor

Gelöst


Valor absoluto de x
Dado uma entrada x, retornar o seu valor absoluto

etwa 2 Monate vor

Gelöst


Seno de x
Calcule o seno de x, onde x está em radianos

etwa 2 Monate vor

Gelöst


Eleve ao cubo!
dado uma entrada x, encontre o seu cubo

etwa 2 Monate vor

Gelöst


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

2 Monate vor

Gelöst


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

2 Monate vor

Problem


List the smallest numbers with n distinct prime factors
The author of a book I am reading asked a mathematician what it feels like to be sixty. He wrote He replied, “Sixty, sandwiched...

2 Monate vor | 1 | 4 Lösungsvorschläge

Problem


Classify numbers as abundant, deficient, or perfect
A number is perfect if the sum of its proper divisors (i.e., divisors excluding the number itself) is equal to itself. For examp...

2 Monate vor | 0 | 5 Lösungsvorschläge

Gelöst


Family Savings Analysis
Given the bank accounts of individuals defined by a list of tuples containing the last name, first name, and savings: accounts ...

2 Monate vor

Problem


Determine whether a property description closes
The arrival of summer makes think back to the summers I spent working for my father’s engineering firm. For the first several s...

2 Monate vor | 1 | 4 Lösungsvorschläge

Problem


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

2 Monate vor | 0 | 6 Lösungsvorschläge

Gelöst


Determine the potential energy in a springrope which hangs over from a bridge
The task is to figure out the energy a person with mass has when hung on a rope over a bridge when given the length from the sus...

2 Monate vor

Gelöst


Area of right triangle
Given a hypotenuse and a leg , calculate the area of right triangle.

2 Monate vor

Mehr laden