Feeds
문제를 풀었습니다
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. ...
대략 19시간 전
문제를 풀었습니다
Solve for factorial of X
It gives you the number x, and set y equal to x factorial. Ex. There are 52 cards in a deck, each specific order of all 52 car...
대략 19시간 전
문제를 풀었습니다
Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow
대략 20시간 전
문제를 풀었습니다
Pascal's Triangle
Create a matrix of size N x N containing a Pascal's Triangle that starts from the upper left corner according to the test cases ...
대략 20시간 전
문제를 풀었습니다
Easy Sequences 2: Trigonometric function with integral input and output
The function 'F', defined as: , will always return an integer if the input is a natural number (in radian...
12일 전
문제를 풀었습니다
Find longest run
Write a function longest_run that takes as input an array of 0's and 1's and outputs the length and index of the longest consecu...
12일 전
문제를 풀었습니다
Einsteinium-253 decay
Radioactive Einsteinium-253 has a half-life of 1,768,608 seconds. Given 1000mg of Einsteinium-253 at t=0 days, how much is lef...
13일 전
문제를 풀었습니다
Create formatted value string Cell array of a vector
This Challenge is to create a cell array that contains strings of vector components in a given format. c=vector2formattedstri...
13일 전
문제를 풀었습니다
Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...
13일 전
문제를 풀었습니다
Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.
13일 전
문제를 풀었습니다
Count the Even Digits in a Number
Given a positive integer n, write a function that returns how many digits of n are even. Even digits are: 0, 2, 4, 6, 8
13일 전
문제를 풀었습니다
Invert a 3D rotation matrix
Given a 3D rotation matrix, belonging to the matrix group SO(3), compute its inverse without using the functions inv() or pinv()...
19일 전
문제를 풀었습니다
Sum of even numbers in a vector
Write a function that takes a vector of numbers and returns the sum of all the even numbers in the vector.
19일 전
문제를 풀었습니다
Linearly Spaced Array
Create a linearly spaced array from 0 to x consisting of y elements.
19일 전
문제를 풀었습니다
Minimum number of crossings in a complete graph
This problem is related to problem 58384. A complete graph may be drawn in different ways, such that the number of line crossin...
19일 전
문제를 풀었습니다
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
19일 전
문제를 풀었습니다
X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.
19일 전
문제를 풀었습니다
Repeat string n times
You will be provided a string (s = 'string1_') a starting point (num1 = 6) (always bigger than or equal to zero) and n (n = 3)...
26일 전
문제를 풀었습니다
Return the Square of a Number
Write a function that takes a single numeric input x and returns its square. That is, given x, your function should output x^2....
26일 전
문제를 풀었습니다
Square area to triangle area
Given the area, A, of a square with side length, c, if a right angle triangle has the same area A and the hypothenuse length 2c ...
26일 전
문제를 풀었습니다
Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
대략 1개월 전











