Community Profile # Peiyi Yao

Last seen: 29 days 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 = ...

29 days ago

Solved

System of Linear Equations

29 days ago

Solved

sign function

29 days ago

Solved

Summation of integers

29 days ago

Solved

imaginary

29 days ago

Solved

Real

29 days ago

Solved

area

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

29 days ago

Solved

Swap rows

29 days ago

Solved

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

29 days ago

Solved

easy problem
Find the last element of the array

29 days ago

Solved

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

29 days ago

Solved

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

29 days ago

Solved

Draw a '0' in a one matrix!

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

to the 2 all elements
to the 2 all elements

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

Converts numbers into characters
Converts numbers into characters

3 months ago

Solved

Normalizing a vector

3 months ago

Solved

Digits Multiplication

4 months ago

Solved

Min-Max digit

4 months ago

Solved

triangle

6 months ago

Solved

Number Puzzle - 100

7 months ago