Risolto


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

26 giorni fa

Risolto


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

26 giorni fa

Risolto


Calculate color coordinates in CIE 1931 color space
For given wavelength lambda, calculate corresponding the color coordinates (rounded to 4-decimals) in CIE 1931 color space. Exa...

26 giorni fa

Risolto


Calculate the h-index (revisited)
H-index is a powerful tool for quantifying the scientific contribution of a researcher. The H-index is defined as follows (fro...

26 giorni fa

Risolto


Count the even numbers in a multiplication table
A multiplication table that has products of numbers from 1 to 10 has 75 even numbers among the products. Write a function to c...

26 giorni fa

Risolto


Basic Physics IV
Calculate the Mechanical Energy (ME).

26 giorni fa

Risolto


Basic Algebra III
Get the Cube Root of the number n.

26 giorni fa

Risolto


Rhombus
Get the area of the Rhombus using it's Diagonals.

26 giorni fa

Risolto


Basic Algebra II
You have the equation X^2 = n you should find the value of X. GOOD LUCK!

26 giorni fa

Risolto


Basic Algebra I
You should solve the problem 3X - 2 = 7 by finding the value of X. You must use this array/vector [2 3 7]. GOOD LUCK!

26 giorni fa

Risolto


Get The Square Root Of Number Power (^) Three
Get the Square Root of number Power (^) Three.

26 giorni fa

Risolto


Circle Perimeter
Get the perimeter of the Circle by PI.

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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.

26 giorni fa

Risolto


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 ...

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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...

26 giorni fa

Risolto


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 ...

26 giorni fa

Risolto


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]...

26 giorni fa

Risolto


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...

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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])...

26 giorni fa

Risolto


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

26 giorni fa

Risolto


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. ...

26 giorni fa

Risolto


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...

26 giorni fa

Risolto


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 ...

26 giorni fa

Carica altro