문제를 풀었습니다


Equilibrium
Is this tower of blocks going to fall? <<http://www.alfnie.com/software/equilibrium02.jpg>> *Description* Given a stack...

대략 7년 전

문제를 풀었습니다


Capture the flag(s)
Flags are distributed randomly on a large board. Starting from the corner position your goal is to capture as many flags as poss...

대략 7년 전

문제를 풀었습니다


singularity 2.0 (hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1769-singularity-2-0-easier Si...

대략 7년 전

문제를 풀었습니다


singularity 2.0 (easier)
If you have been in Cody long enough you have probably run across some badly constructed problems and test suites. This prob...

대략 7년 전

문제를 풀었습니다


singularity 2.0 (really hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1770-singularity-2-0-harder Si...

대략 7년 전

문제를 풀었습니다


ASCII art
Convert a grayscale image to ASCII <<http://www.alfnie.com/software/cameraman.jpg>> *Inputs:* * *img*: Grayscale imag...

대략 7년 전

문제를 풀었습니다


Knights and Knaves (part 3)
_This is a Matlab adaptation of the_ <http://en.wikipedia.org/wiki/Knights_and_Knaves Knights and Knaves> _logical puzzles_. ...

대략 7년 전

문제를 풀었습니다


Knave in the middle attack
This is a Matlab adaptation of the <http://en.wikipedia.org/wiki/Knights_and_Knaves Knights and Knaves> logical puzzles, mixed w...

대략 7년 전

문제를 풀었습니다


Hangman (strategy)
What is the best strategy in a <http://en.wikipedia.org/wiki/Hangman_(game) hangman> game? Your job is to device a strategy t...

대략 7년 전

문제를 풀었습니다


Knights and Knaves (part 2)
_This is a Matlab adaptation of the_ <http://en.wikipedia.org/wiki/Knights_and_Knaves Knights and Knaves> _logical puzzles_. ...

대략 7년 전

문제를 풀었습니다


Knights and Knaves (part 1)
This is a Matlab adaptation of the <http://en.wikipedia.org/wiki/Knights_and_Knaves Knights and Knaves> logical puzzles. You ...

대략 7년 전

문제를 풀었습니다


Fastest shortest-path-finder in the west
Given connectivity information about a graph, your job is to find the <http://en.wikipedia.org/wiki/Shortest_path_problem *short...

대략 7년 전

문제를 풀었습니다


love is an n-letter word
Given a list of *N words*, return the *N-letter word* (choosing one letter from each word) with the property of having the least...

대략 7년 전

문제를 풀었습니다


TRON challenge
Create a solver for the classic arcade TRON game <<http://www.alfnie.com/software/figtron.png>> *Description* Your func...

대략 7년 전

문제를 풀었습니다


the fly, the train, the second train, and their Zeno's paradox
*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

대략 7년 전

문제를 풀었습니다


hackathon impossible
You might have found a solution to our <http://www.mathworks.com/matlabcentral/cody/problems/205-hackathon-the-beginnings previo...

대략 7년 전

문제를 풀었습니다


Hackathon: the beginnings
I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

대략 7년 전

문제를 풀었습니다


yet another flying fly (YAFF)
Same as the previous problem <http://www.mathworks.com/matlabcentral/cody/problems/203-fly-fly-away fly fly away> but now with *...

대략 7년 전

문제를 풀었습니다


fly fly away
A fly moves following a predefined sequence of discrete jumps (defined by the vectors _dx_ and _dy_) repeating the same sequence...

대략 7년 전

문제를 풀었습니다


Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

대략 7년 전

문제를 풀었습니다


Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable

대략 7년 전

문제를 풀었습니다


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

대략 7년 전

문제를 풀었습니다


Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...

대략 7년 전

문제를 풀었습니다


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

대략 7년 전

문제를 풀었습니다


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

대략 7년 전

문제를 풀었습니다


Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it. (The original psi is passed as a number to the...

대략 7년 전

문제를 풀었습니다


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

대략 7년 전

문제를 풀었습니다


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

대략 7년 전

문제를 풀었습니다


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

대략 7년 전

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

대략 7년 전

더 보기