解決済み


GJam 2014 China Rd A: Library Sorting (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/2924486/dashboard#s=p2 GJam 2014 China Sorting>. This...

12年以上 前

解決済み


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

12年以上 前

解決済み


GJam 2013 China Event: Happy Teams 100 Pairs
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p0 GJam 2013 China Bad Horse> partial...

12年以上 前

解決済み


GJam 2013 China Event: Happy Teams
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p0 GJam 2013 China Bad Horse>. The pr...

12年以上 前

解決済み


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

12年以上 前

解決済み


Friday the 13th
According to superstition, lots of unpleasant stuff happens on Friday the 13th, so you might like to find the next occurence of ...

12年以上 前

解決済み


GJam: 2013 China Event: Cannon Angle
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...

12年以上 前

解決済み


Converting numbers back from extended form
Thanks for all the help you guys gave me on writing out the numbers in extended form in <http://www.mathworks.com/matlabcentral/...

12年以上 前

解決済み


GJam: 2013 China Event: Name Sorting
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p2 GJam 2013 China Moist>. The proble...

12年以上 前

解決済み


Break it up! Break it up!
You have N pennies. Write a Matlab script that will reveal how many different ways you can break up those pennies. For example...

12年以上 前

解決済み


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

12年以上 前

解決済み


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

12年以上 前

解決済み


MiniMax
Find the smallest value in array, which is the maximum of its row and column. Example: in array shown below are two numbers w...

12年以上 前

解決済み


Numbers in extended form
Shhhhhhh. Don't tell my daddy, but I'm borrowing his Cody account so all of you very smart people can help me out. I just star...

12年以上 前

解決済み


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

12年以上 前

解決済み


GJam:2013 World B: MAD Drummer
This Challenge is derived from the <http://code.google.com/codejam/ Google Code Jam 2013 World Championship>. The <http://code.g...

12年以上 前

解決済み


Factorial: Unlimited Size : java.math
This challenge is an application of java.math that allows unlimited precision calculations. The primary reference sites are <ht...

12年以上 前

解決済み


Min of a Matrix
Return the minimum value in the given matrix.

12年以上 前

解決済み


User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...

12年以上 前

解決済み


Enlarge array
Given an mxn numeric array (A) and a 1x2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m*p)x(n...

12年以上 前

解決済み


Molecule Atomic Wt (CHONS) Molecules
Given a molecular equation string determine its atomic weight. Limited atoms of C H O N and S where wts are rounded to [12 1 ...

12年以上 前

解決済み


Repeat middle rows and columns of an array
Given an MxN numeric array (A), return an array (B) in which the middle rows and columns have each been repeated once. It may be...

12年以上 前

解決済み


Create a matrix with difference of each row of input matrix
With a given input matrix A, create a output matrix B in such a way that each row in B is a difference of rows of input matrix A...

12年以上 前

解決済み


Create a v-notch vector without "sort" function
Given a vector vec, create a v-shaped vector as shown below: vec = [ 10 2 3 89 5 7 90 0 12] ...

12年以上 前

解決済み


Optimally fill a container with elements of different sizes
Given a row vector V of different numerical values and a size limit L, return a 1x2 vector A, containing (a) the largest sum of ...

12年以上 前

解決済み


Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

12年以上 前

問題


Pascal's pyramid
In Pascal's triangle each number is the sum of the two nearest numbers in the line above: 1 1 1 ...

12年以上 前 | 4 | 135 個のソルバー

解決済み


Pascal's pyramid
In Pascal's triangle each number is the sum of the two nearest numbers in the line above: 1 1 1 ...

12年以上 前

解決済み


rot45 : a different aproach
Inspired by problem 1840. <http://www.mathworks.com/matlabcentral/cody/problems/1840-rotate-matrix-clockwise-45-degree> ...

12年以上 前

解決済み


Rotate Matrix Both Direction (45 Degree)
*Matrix (3x3 only) rotation*: 3 inputs: *x* matrix, *n* times and *m* option. output: *y* matrix with *n x 45* degree ...

12年以上 前

さらに読み込む