문제를 풀었습니다


Trapezium
Calculate the area of the Trapezium using it's bases and height.

대략 2개월 전

문제를 풀었습니다


Find The Area Of The Circle
Find the area of the Circle using PI.

대략 2개월 전

문제를 풀었습니다


Find The Area Of Triangle Using Base & Height
You should find the area of the Triangle using base and height. Good Luck!

대략 2개월 전

문제를 풀었습니다


Get The Opposite Of The Number Without Negative (-) On It
You must get the opposite of the number X without making -X. Hint: You can make it by Subtraction and Multiplication.

대략 2개월 전

문제를 풀었습니다


Insert same number of zeros for each of elements in the vector. Number of zeros for a given number in vector
Same number of zeros for a given number in the vector, if there is a negative number in vector, then insert zeros to precede ...

대략 2개월 전

문제를 풀었습니다


Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the shorter leg.
Further to the problem 43236, find the length of shorter leg P.S No built-in functions allowed

대략 2개월 전

문제를 풀었습니다


Move Array Element by Offset with Optional Ring Mode
Move Element by Offset Write a function moveab(x, A, B, option) that moves the element at index A in array x by B positions. P...

대략 2개월 전

문제를 풀었습니다


Web App POST using system curl (405 error fix)
This challenge is to create a curl command to interact with a Google Web App that takes a JSON input and returns the JSON and a ...

대략 2개월 전

문제를 풀었습니다


Count how many elements are above the mean
Given a vector, return the count of elements strictly greater than the mean of the vector. Example: above_mean_count([1 2 3 4 5]...

대략 2개월 전

문제를 풀었습니다


Convert Celsius temperature to Fahrenheit
Given a temperature in Celsius, return the equivalent in Fahrenheit. Formula: F = C * 9/5 + 32Example: cel2fahr(100) returns 212...

대략 2개월 전

문제를 풀었습니다


Determine if a number is prime
Given a positive integer n, return 1 if it is prime, 0 otherwise. Example: is_prime(7) returns 1, is_prime(4) returns 0

대략 2개월 전

문제를 풀었습니다


Sum the main diagonal of a matrix
Given a square matrix, return the sum of its main diagonal elements. Example: diag_sum([1 2 3; 4 5 6; 7 8 9]) returns 15

대략 2개월 전

문제를 풀었습니다


Reverse the characters of a string
Given a string, return the string with characters in reverse order. Example: rev_string('hello') returns 'olleh'

대략 2개월 전

문제를 풀었습니다


Keep Only Even Numbers
Given a vector, return a new vector containing only the even numbers in their original order. Example: keep_evens([1 2 3 4 5 6])...

대략 2개월 전

문제를 풀었습니다


Count the vowels in a string
Given a string, return the number of vowels (a, e, i, o, u — case insensitive). Example: count_vowels('Hello World') returns 3

대략 2개월 전

문제를 풀었습니다


Triangle Area Using Heron's Formula
Given the three side lengths a, b, and c of a triangle, calculate its area using Heron's formula and round to 4 decimal places. ...

대략 2개월 전

문제를 풀었습니다


Find the Longest Consecutive Increasing Path in a Matrix
Given a 2D matrix of integers, find the length of the longest path where each step moves to an adjacent cell (up, down, left, ri...

대략 2개월 전

문제를 풀었습니다


Replace All Below-Average Elements in a Matrix with Zero
Given a 2D matrix of numbers, find the mean of all elements. Replace any element that is strictly below the mean with 0. Return ...

대략 2개월 전

문제를 풀었습니다


Robust Main Diagonal Sum with Special Value Handling in Arrays
Compute the sum of the diagonal elements of an array (vector or matrix). If array is not square return the char array: 'no-squa...

대략 2개월 전

문제를 풀었습니다


Robust Corner Product with Special Value Handling in Arrays
Compute the product of the corner elements of an array (vector or matrix). If any corner element is NaN, return NaN. If any co...

대략 2개월 전

문제를 풀었습니다


Robust Corner Sum with Special Value Handling in Arrays
Compute the sum of the corner elements of an array (vector or matrix). If any corner element is NaN, return NaN. If any corner...

대략 2개월 전

문제를 풀었습니다


Problem: Battery State Estimation with Temperature Effect
In a Battery Management System (BMS), the usable capacity of a battery decreases when operating at extreme temperatures. The ef...

대략 2개월 전

문제를 풀었습니다


Double the 2x2 Matrix
In this challenge, you are given a predefined 2x2 matrix called x. Your task is to multiply every element in this matrix by 2 an...

대략 2개월 전

문제를 풀었습니다


Return the product of all elements of a vector or matrix without using built-in functions
Compute the product of all elements of the input array without using the built-in functions prod, ans, or size.

대략 2개월 전

문제를 풀었습니다


Find the nearest admirable number
Cody Problems 1012 and 2544 ask us to determine whether a number is perfect—that is, whether the sum of divisors is equal to ....

대략 2개월 전

문제를 풀었습니다


Turn year differences into "s score and y years ago"
President Lincoln opened his now-legendary Gettysburg Address with the famous words "Four score and seven years ago...". Given t...

대략 2개월 전

문제를 풀었습니다


Play Oware with the digits of a number
Oware is a pit and pebble game that consists of two sets of pits or houses filled with pebbles or seeds. During a turn, a player...

대략 2개월 전

문제를 풀었습니다


Sum all elements of a vector or matrix without using some built in functions
Write a function that computes the sum of all elements of the input array v without using the following built-in function: sum,...

대략 2개월 전

문제를 풀었습니다


Precise Almost Pythagorean Triples
This is essentially the same as: Problem 52834. Easy Sequences 32: Almost Pythagorean Triples; it even presents the same set o...

대략 2개월 전

문제를 풀었습니다


Compute the Euclidean Distance Between Two N-Dimensional Vectors
Write a function that computes the Euclidean distance between two N-dimensional vectors. Given two input vectors x and z of equ...

대략 2개월 전

더 보기