문제를 풀었습니다


Find smallest integer type to accommodate your number
MATLAB supports 1-, 2-, 4-, and 8-byte storage for integer data. Find the smallest integer type to accomodate a scalar integer. ...

3개월 전

문제를 풀었습니다


Initialize a varible with an integer value from a another variable which is assigned with a character value.
Initialize a varible with an integer value from a another variable which is assigned with a character value. ex: Test = 'c'...

3개월 전

문제를 풀었습니다


Find the position of planet in solarsystem
Write a funtion named *nthplanet* which takes name of the planet as input string and provides the position of the planet, starti...

3개월 전

문제를 풀었습니다


Two functions (to be sure)
I want to compute the number of odd/even numbers in an array. But I want the results by two different functions. Example: ...

3개월 전

문제를 풀었습니다


Number Puzzle - 051

3개월 전

문제를 풀었습니다


Rumis Scorer 2
<http://en.wikipedia.org/wiki/Rumis Rumis> is a multiplayer 3D block board game where the goal is to have the most squares visib...

3개월 전

문제를 풀었습니다


UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

3개월 전

문제를 풀었습니다


Unique - Very Very Large Numbers
Given a vector column, with some very large numbers, create the ascending sort and unique vector. *Input:* A (column vector)...

3개월 전

문제를 풀었습니다


Compute average gain for some bets.
Given a vector containg the odds of some events in decimal format (e.g., |odds=[1.3 2.5 1.5]| ) and a vector of the same dimensi...

4개월 전

문제를 풀었습니다


Write a code to implement Euler's method to integrate a simple function
Euler's method approximates the solution to a differential equation as where . The challenge is to write a code that can take...

4개월 전

문제를 풀었습니다


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

4개월 전

문제를 풀었습니다


Back to basics 24 - Symbolic variables
Covering some basic topics I haven't seen elsewhere on Cody. Given a string algebraic expression, return the symbolic variables...

4개월 전

문제를 풀었습니다


Dominant Matrix - 01
A matrix is said to be diagonally dominant if for every row of the matrix, the magnitude of the diagonal entry in a row is large...

4개월 전

문제를 풀었습니다


Effective Nuclear Charge

4개월 전

문제를 풀었습니다


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

4개월 전

문제를 풀었습니다


Draw a fancy '7' in a zero matrix!
Given a x-by-x matrix filled with zeros (x is odd and > 3). Use 7s to draw a number 7 into it! Like this: x = 5, y = 7 7 7 7 7...

4개월 전

문제를 풀었습니다


Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
Given the square root of a square number, *seed*, and a range, *n*, find the square number, *Z* as well as the other side, *y*, ...

4개월 전

문제를 풀었습니다


Number Puzzle - 106

4개월 전

문제를 풀었습니다


Number Puzzle - 074

4개월 전

문제를 풀었습니다


Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. fo...

4개월 전

문제를 풀었습니다


Number Puzzle - 112

4개월 전

문제를 풀었습니다


Number Puzzle - 093

4개월 전

문제를 풀었습니다


Is it Possible? ( Easy )
In the first part of series, we simplify the problem. Given two jugs with capacities A and B, and a target amount T, determine i...

4개월 전

문제를 풀었습니다


Parse string and identify specific string sequence in algebraic equation
Given a string S that defines an algebraic expression such as: S= 'X= A1 + A2*(Y1 + A3*Y3)*exp( A4*Y12 + Y1) ;' return a...

4개월 전

문제를 풀었습니다


Difference of product and sum
Given a positive integer n, compute the difference between the product of its digits and the sum of its digits.

4개월 전

문제를 풀었습니다


[Master Regular Expression] Keyboard Row
Given an array of strings words, return the words that can be typed using letters of the alphabet on only one row of American ke...

4개월 전

문제를 풀었습니다


Spiral Mandala
Generate a clockwise spiral pattern using 1s in an N×N matrix to create an intricate mandala effect. e.g. N = 5; y_correct...

4개월 전

문제를 풀었습니다


Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.

4개월 전

문제를 풀었습니다


Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry. e.g. N = 5; 1 1 1 1 1; 0 1 1 1 0; ...

4개월 전

더 보기