Community Profile Peiyi Yao

Last seen: 5 months ago Active since 2015

Statistics

• • • • • • • Content Feed

View by

Solved

Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

5 months ago

Solved

System of Linear Equations

5 months ago

Solved

sign function

5 months ago

Solved

Summation of integers

5 months ago

Solved

imaginary

5 months ago

Solved

Real

5 months ago

Solved

area

5 months ago

Solved

Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

5 months ago

Solved

Swap rows

5 months ago

Solved

F.R.I.E.N.D.S

5 months ago

Solved

easy problem
Find the last element of the array

5 months ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

5 months ago

Solved

Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

5 months ago

Solved

Draw a '0' in a one matrix!

7 months ago

Solved

calculate the length of matrix
input 1 array, calculate the length

7 months ago

Solved

Double all elements in the array
Duplicate all elements in the array

7 months ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

7 months ago

Solved

to the 2 all elements
to the 2 all elements

7 months ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

7 months ago

Solved

Find the max element of the array
Find the max element of the array

7 months ago

Solved

Converts numbers into characters
Converts numbers into characters

7 months ago

Solved

Normalizing a vector

7 months ago

Solved

Digits Multiplication

8 months ago

Solved

Min-Max digit

8 months ago

Solved

triangle

10 months ago

Solved

Number Puzzle - 100

11 months ago