문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

5년 초과 전

문제를 풀었습니다


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

5년 초과 전

문제를 풀었습니다


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

5년 초과 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

5년 초과 전

문제를 풀었습니다


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5년 초과 전

문제를 풀었습니다


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

5년 초과 전

문제를 풀었습니다


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

5년 초과 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

5년 초과 전

문제를 풀었습니다


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

5년 초과 전

문제를 풀었습니다


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

5년 초과 전

문제를 풀었습니다


Sort a vector

5년 초과 전

문제를 풀었습니다


Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6 ' * ' ' *** ' ' **...

5년 초과 전

문제를 풀었습니다


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

5년 초과 전

문제를 풀었습니다


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

5년 초과 전

문제를 풀었습니다


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

5년 초과 전

문제를 풀었습니다


Find Logic 17

5년 초과 전

문제를 풀었습니다


Find Logic 18

5년 초과 전

문제를 풀었습니다


Find Logic 16

5년 초과 전

문제를 풀었습니다


Find Logic 14

5년 초과 전

문제를 풀었습니다


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

5년 초과 전

문제를 풀었습니다


Find Logic 19

5년 초과 전

문제를 풀었습니다


Find Logic 15

5년 초과 전

문제를 풀었습니다


Find Logic 13

5년 초과 전

문제를 풀었습니다


Find Logic 12

5년 초과 전

문제를 풀었습니다


Find Logic 11

5년 초과 전

문제를 풀었습니다


Find Logic 10

5년 초과 전

문제를 풀었습니다


Find Logic 9

5년 초과 전

문제를 풀었습니다


Find Logic 8

5년 초과 전

문제를 풀었습니다


Find Logic 7

5년 초과 전

문제를 풀었습니다


Find Logic 6

5년 초과 전

더 보기