Peg Solitaire - Apply Move
About Peg Solitaire .
Previous Problem.
Consider inital board;
If we move the peg located on (4,6) to the left (4) directio...
5年弱 前 | 0 | 7 個のソルバー
問題
Peg Solitaire - Get Possible Moves
About Peg Solitaire.
Consider following initial board; (1) indicates there is a peg and (0) indicates empty holes.
For thi...
5年弱 前 | 1 | 4 個のソルバー
解決済み
Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...
Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.
5年弱 前
解決済み
Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.
5年弱 前
解決済み
Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...
5年弱 前
解決済み
Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...
5年弱 前
解決済み
Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...