Risolto


Largest territory
Determine whose territory is largest. If there are two more large territory, determine a smaller number. For example, X ...

quasi 12 anni fa

Risolto


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

quasi 12 anni fa

Risolto


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

quasi 12 anni fa

Risolto


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

quasi 12 anni fa

Risolto


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

quasi 12 anni fa

Risolto


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

quasi 12 anni fa

Risolto


Keep Only the Upper characters in a string
Keep Only the Upper characters in a string s = 'Sreeram Mohan'; output = SM;

quasi 12 anni fa

Risolto


Check if vertices form a rectangle
Given a set of 4 vertices defined by vectors X and Y, return true if the vertices form a rectangle and false otherwise. X and...

quasi 12 anni fa

Risolto


Box!
Given a box, find the volume of the cube. With each side = a.

quasi 12 anni fa

Risolto


Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...

quasi 12 anni fa

Risolto


Find out next state (NS) of T Flip flop.
Find out next state (NS) of T Flip flop based on previous state (PS), inputs. Please refer T Flip flop theory <http://we...

quasi 12 anni fa

Risolto


Find out next state of JK Flip flop.
Find out next state (NS) of JK Flip flop based on previous state (PS), inputs. Please refer JK Flip flop theory <http://...

quasi 12 anni fa

Risolto


Error handling
If the input is a negative number, generate an error. Otherwise, return the number.

quasi 12 anni fa

Risolto


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

quasi 12 anni fa

Risolto


Divisors for big integer
Inspired by Problem 1025 and Project Euler 12. Given n, return the number y of integers that divide N. For example, with ...

quasi 12 anni fa

Risolto


Find the Connecting Path
Here is a matrix x x = [7 6 8 5 7 2 4 5 1 3 0 0 0 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 0 0 0 0 0 0...

circa 12 anni fa

Risolto


self description 2.0
New (and way easier) hacking problem built upon <http://www.mathworks.com/matlabcentral/cody/problems/1969 Alfonso's problem 196...

circa 12 anni fa

Risolto


resistor ladder
* You have a bunch (an odd number N) of identical resistors (each R ohms), a good battery (V volts), and a high impedance voltme...

circa 12 anni fa

Risolto


GJam 2011 Africa Qualifier B: Optimum Profit
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard#s=p1 GJam 2011 Africa: Investing at the ...

circa 12 anni fa

Risolto


GJam 2011 Africa Qualifier C: House, maximum area rectangle
This Challenge is derived from <http://code.google.com/codejam/contest/837485/dashboard#s=p2 GJam 2011 Africa: Building a House>...

circa 12 anni fa

Risolto


Graph Algorithms - 2 : Chromatic Number
Chromatic number of a graph is the minimum number of distinct colors required to color all the vertices of the graph such that n...

circa 12 anni fa

Risolto


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

circa 12 anni fa

Risolto


Let's get back to school: create mixed numbered fraction
A fractional number can be represented as mixed number. A "mixed number" consists of an integer followed by a proper fraction...

circa 12 anni fa

Risolto


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

circa 12 anni fa

Risolto


Average speed for the entire trip
The input is two speeds (for the trip and return trip) and output is average speed. Assume units are consistent, say miles per h...

circa 12 anni fa

Risolto


Function writing test
Tests your ability to write a trivial function.

circa 12 anni fa

Risolto


Kurchan 5x5 - Optimal Score
Related to Problems 1646 and 2650, but bigger. Technically, all you need to do for this Cody problem is input a 5x5 matrix conta...

circa 12 anni fa

Problema


Kurchan 5x5 - Optimal Score
Related to Problems 1646 and 2650, but bigger. Technically, all you need to do for this Cody problem is input a 5x5 matrix conta...

circa 12 anni fa | 1 | 45 risolutori

Risolto


Get top 5 Cody Player Emails Automatically
Yes, this is a little scary and also entirely possible to do in MATLAB, so let's do it! Looking at the list of the players <h...

circa 12 anni fa

Risolto


Find out base of following arithmetic operation
Find out base of the following arithmetic operation. So for example 41/3=13 is true in base 8. Another example: 23+44+14...

circa 12 anni fa

Carica altro