Gelöst


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

mehr als 3 Jahre vor

Gelöst


Toads and Frogs Puzzle 2
On a two-dimensional board with 2n + 1 rows and 2n + 1 columns, all (2n + 1)^2 positions of the board, except the central one, a...

mehr als 3 Jahre vor

Gelöst


Find the Pattern 1

mehr als 3 Jahre vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

mehr als 3 Jahre vor

Gelöst


Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...

mehr als 3 Jahre vor

Gelöst


Average of five numbers
Find the average of a set of five numbers {x1,x2,x3,x4,x5}

mehr als 3 Jahre vor

Gelöst


Toads and Frogs Puzzle
On a one-dimensional board with n + m + 1 cells, there are n counters in the first n cells representing Toads and m counters in ...

mehr als 3 Jahre vor

Gelöst


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

mehr als 3 Jahre vor

Gelöst


Average of two numbers
Find the average of two numbers x1 and x2. For instance, if x1=7 and x2=19, the answer is 13.

mehr als 3 Jahre vor

Gelöst


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

mehr als 3 Jahre vor

Gelöst


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

mehr als 3 Jahre vor

Gelöst


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

mehr als 3 Jahre vor

Gelöst


Find Logic 16

mehr als 3 Jahre vor

Gelöst


Find Logic 19

mehr als 3 Jahre vor

Gelöst


Find Logic 4

mehr als 3 Jahre vor

Gelöst


Find Logic 3

mehr als 3 Jahre vor

Gelöst


Find Logic 1

mehr als 3 Jahre vor

Gelöst


Do they touch?
The center and radius of two circles are given. Determine whether they touch.

mehr als 3 Jahre vor

Gelöst


Chain multiplication - 05
Following up on the problem in 55305, you found the optimal way of multiplying a chain of matrices. In problem 55315, you had t...

mehr als 3 Jahre vor

Gelöst


Which Char Array has the greater decimal value
Given to character arrays, determine which array has the greater decimal value. 'Hello' --> 72 + 101 + 108 + 108 + 111 = 500 ...

mehr als 3 Jahre 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...

mehr als 3 Jahre vor

Gelöst


Find Min and Max Differences in a Vector
Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array....

mehr als 3 Jahre vor

Gelöst


Blood test?
Assuming: the genetic makeup (genotype) of a child is coded as a pair with two components, combining half genotype of one parent...

mehr als 3 Jahre vor

Gelöst


Mix it up!
Given an input string S, return a new string B, that is created by taking one character from the front and then the end iterativ...

mehr als 3 Jahre vor

Gelöst


Rumis Scorer 1
<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

mehr als 3 Jahre vor

Gelöst


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

mehr als 3 Jahre vor

Gelöst


Chess ELO rating system
The Elo rating system is a method for calculating the relative chess skill levels of players in competitor-versus-competitor gam...

mehr als 3 Jahre vor

Gelöst


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

mehr als 3 Jahre vor

Gelöst


Effective Nuclear Charge

mehr als 3 Jahre vor

Gelöst


Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

mehr als 3 Jahre vor

Mehr laden