Feeds
문제를 풀었습니다
Cryptography with A Square Matrix : Decoding
Previous Problem: Cryptography with A Square Matrix : Encoding Now decode a double vector to a (hopefully!) meaningful text. I...
대략 2시간 전
문제를 풀었습니다
Cryptography with A Square Matrix : Encoding
Matrix inverse operation can be used to encode or decode of a message. For example text = 'matlab & cody'. numeric e...
대략 2시간 전
문제를 풀었습니다
Get Next Combination
Return next combination For example three-element combinations of 1:5 1 2 3 1 2 4 1 ...
대략 3시간 전
문제를 풀었습니다
Bridge and Torch Problem - Probability
<https://en.wikipedia.org/wiki/Bridge_and_torch_problem Details of the problem ...> There are four people who wants to cross...
대략 3시간 전
문제를 풀었습니다
Bridge and Torch Problem - Length of Unique Time List
<https://en.wikipedia.org/wiki/Bridge_and_torch_problem Details of the problem ...> Input is crossing time list. (for exampl...
대략 3시간 전
문제를 풀었습니다
Bridge and Torch Problem - Minimum time
<https://en.wikipedia.org/wiki/Bridge_and_torch_problem Details of the problem ...> Input is crossing time list. (for exampl...
대략 3시간 전
문제를 풀었습니다
Besson Ranks
Return Besson Ranks. You can look at <https://www.sciencedirect.com/science/article/pii/0895717789903671 this article.> Besso...
대략 3시간 전
문제를 풀었습니다
Write out numbers in words
Write out numbers in words ( range [0-9999] ) with British spelling rules. For example; 1 > one 56 > fifty-six 100 > one hund...
대략 3시간 전
문제를 풀었습니다
Challenging perms function!
This problem is highly related with <http://www.mathworks.com/matlabcentral/cody/problems/1127-decrypt-a-secret-message Problem ...
대략 3시간 전
문제를 풀었습니다
Easy Sequences 116: Summation involving nthroot, floor, and ceiling functions
Given a postive integers and , we are asked to evaluate the following summation: ...
대략 17시간 전
문제를 풀었습니다
Easy Sequences 115: Integral involving square root, floor, and round functions
Given a postive real number , we are asked to evaluate the following integral: ...
대략 17시간 전
문제를 풀었습니다
Easy Sequences 114: Counting Unique Numbers
A Unique Number is defined as a positive integer with no repeated digits. This means that and are unique numbers, but and ar...
대략 18시간 전
문제를 풀었습니다
Easy Sequences 113: Almost Golden Integer Rectangles 2
A golden rectangle is a rectangle whose side lengths are in the golden ratio, , where: . ...
대략 18시간 전
문제를 풀었습니다
Easy Sequences 112: Almost Golden Integer Rectangles 1
A golden rectangle is a rectangle whose side lengths are in the golden ratio, , where: . ...
대략 19시간 전
문제를 풀었습니다
Easy Sequences 111: Repnums as Hypotenuse of Pythagorean Triangles
The number belongs to a class of numbers called Repunit Numbers, in which all digits are . For this problem, we'll define a s...
1일 전
문제를 풀었습니다
Easy Sequences 110: Integration of the Sum of a Recursive Trigonometric Function
A trigonometric function, , is defined as follows: , in radians Applying recursively we define another funct...
1일 전
문제를 풀었습니다
Easy Sequences 109: Summation of Derivatives of a Trigonometric Function
A trigonometric function, , is defined as follows: where: ; and ...
1일 전
문제를 풀었습니다
Easy Sequences 108: Enclosing a Circle with Primitive Pythagorean Triangles
Pythagorean Triangle is a right triangle all sides of which are represented by integers. Examples are triangles with sides and ...
1일 전
문제를 풀었습니다
Easy Sequences 106: Counting Pythagorean Triangles inside a Circle
Pythagorean Triangle is a right triangle all sides of which are represented by integers. Examples are triangles with sides and ...
3일 전
문제를 풀었습니다
Easy Sequences 105: One-line Code Challenge - IPv4 Address Validation
The Internet Protocol version 4 (IPv4) is the dominant protocol for routing devices over the internet. IPv4 addresses are usuall...
3일 전
문제를 풀었습니다
Easy Sequences 104: One-line Code Challenge - GCDs of Sum of Consecutive Cubes
For a natural number, n, the function CC(n) is defined as follows: In other words, CC(n) is the sum of cubes ...
3일 전
문제를 풀었습니다
Easy Sequences 103: One-line Code Challenge - Evaluate String Math Expressions
Given a character string of a simple mathematical expression containing only numbers, parentheses and arithmetic symbols (+ - * ...
3일 전
문제를 풀었습니다
Easy Sequences 102: One-line Code Challenge - Take While Function
takeWhile is another useful functional programming construct. The takewhile function is similar to the built-in function arrayfu...
3일 전
문제를 풀었습니다
Easy Sequences 100: One-line Code Challenge - 100th Digit of 100th power of an Integer
Given a integer , write a function that computes the digit of . If has less than digits just output a NaN. For example if , ...
3일 전
문제를 풀었습니다
Easy Sequences 99: One-line Code Challenge - Real Digitizer
Given a real number r, write the function rDigitizer that breaks r into constituent digits and symbols. For example: >> ...
3일 전
문제를 풀었습니다
Easy Sequences 98: One-line Code Challenge - Ternary Operator Function
Ternary operation is a standard construct in most computer languages. The ternary operator assigns value to a variable depending...
3일 전
문제를 풀었습니다
Easy Sequences 97: One-line Code Challenge - Sequence with Constant Difference
While answering Problem #57725, I noticed a pattern that immediately led me to a solution, namely: the -th difference of the seq...
3일 전
문제를 풀었습니다
Easy Sequences 96: One-line Code Challenge - Polynomial Folding Function
The Matlab fold function is a very useful functional programming construct. Unfortunatlely, fold is not available io Cody player...
3일 전











