已解决


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 ...

3 years 前

已解决


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...

3 years 前

已解决


Find the Pattern 1

3 years 前

已解决


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

3 years 前

已解决


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...

3 years 前

已解决


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

3 years 前

已解决


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 ...

3 years 前

已解决


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

3 years 前

已解决


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.

3 years 前

已解决


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

3 years 前

已解决


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...

3 years 前

已解决


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....

3 years 前

已解决


Find Logic 16

3 years 前

已解决


Find Logic 19

3 years 前

已解决


Find Logic 4

3 years 前

已解决


Find Logic 3

3 years 前

已解决


Find Logic 1

3 years 前

已解决


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

3 years 前

已解决


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...

3 years 前

已解决


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 ...

3 years 前

已解决


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...

3 years 前

已解决


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....

3 years 前

已解决


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

3 years 前

已解决


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...

3 years 前

已解决


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...

3 years 前

已解决


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...

3 years 前

已解决


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...

3 years 前

已解决


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...

3 years 前

已解决


Effective Nuclear Charge

3 years 前

已解决


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

3 years 前

加载更多