Community Profile

# Ramy Salem

Last seen: 6일 전 2022년부터 활동

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Find the dividend
Given a vector of pairwise coprime positive integers, p, and a vector of corresponding remainders, r, return a positive integer,...

27일 전

문제를 풀었습니다

Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)

약 1달 전

문제를 풀었습니다

Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.

약 1달 전

문제를 풀었습니다

Calculate Angle From Axis
Given coordinates x and y, an axis ("X" or "Y"), and a direction ("cw" or "ccw", meaning clockwise and counterclockwise, respect...

약 2달 전

문제를 풀었습니다

Round2 Three Times Fight!
Your function should round the numbers then multyply them by 2 then repeat them three times

약 2달 전

문제를 풀었습니다

Pay up
You live in a world where arbitrary denominations of currency exist. You owe your friend a sum of money denoted by s. However, i...

약 2달 전

문제를 풀었습니다

Area under the curve
Compute area under the curve specified by points stored in y, where y is in range (0,inf) and x time step is 1. note: please r...

약 2달 전

문제를 풀었습니다

Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

약 2달 전

문제를 풀었습니다

List numbers that are not squares
The numbers 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 17, etc. are not perfect squares. Write a function to list the th term in ...

약 2달 전

문제를 풀었습니다

Simple Interest : Calculate annual simple interest rate
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

약 2달 전

문제를 풀었습니다

compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

약 2달 전

문제를 풀었습니다

Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

2달 전

문제를 풀었습니다

Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

2달 전

문제를 풀었습니다

Compound Interest : Future Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

2달 전

문제를 풀었습니다

Compound Interest: Interest Rate
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

2달 전

문제를 풀었습니다

Compound Interest: Present Value
Theorem : Compound Interest where, F : Future value at the end of n periods P : Present value r : Annual nominal rate n :...

2달 전

문제를 풀었습니다

Simple Interest : Calculate Future Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

2달 전

문제를 풀었습니다

Simple Interest : Calculate Present Value
Theorem : Simple Interest where; F : Future Value P : Present Value r : Annual simple interest rate (decimal) t : Time in...

2달 전

문제를 풀었습니다

Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

2달 전

문제를 풀었습니다

The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

2달 전

문제를 풀었습니다

Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

2달 전

문제를 풀었습니다

Number Puzzle - 032

2달 전

문제를 풀었습니다

Jump Search - 01
Find the number of leaps you need to take to find an element in an array using the jump search algorithm. For example, a=[ 2,...

2달 전

문제를 풀었습니다

sinus de pulsation a
Ecrire une fonction sinat qui prend en entrée un vecteur t (de valeurs croissantes) et renvoie un vecteur y de de même dimensi...

2달 전

문제를 풀었습니다

Définir une fonction creneau
Definr une fonction "creneau" qui prend en entrée un vecteur et renvoie la valeur 1 pour chaque élément positif du vecteur et...

2달 전

문제를 풀었습니다

Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false. Ordenado([1 2 3 4]) = true;

2달 전

문제를 풀었습니다

Converter lista de temperaturas
Dada uma lista de temperaturas em Fahrenheit,retorne um vetor com os valores convertidos para Celcius.

2달 전

문제를 풀었습니다

Remove Repetidos e Ordena
Dado um vetor A, remove todos os valores repetidos deixando apenas 1 valor, e ordene o vetor. RemoveRepetidosEOrdena([1 1 2 3])...

2달 전

문제를 풀었습니다

GCD

2달 전

문제를 풀었습니다

King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

3달 전