Community Profile # Peiyi Yao

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

2 months ago

Solved

System of Linear Equations

2 months ago

Solved

sign function

2 months ago

Solved

Summation of integers

2 months ago

Solved

imaginary

2 months ago

Solved

Real

2 months ago

Solved

area

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

2 months ago

Solved

Swap rows

2 months ago

Solved

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

2 months ago

Solved

easy problem
Find the last element of the array

2 months ago

Solved

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

2 months ago

Solved

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

2 months ago

Solved

Draw a '0' in a one matrix!

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

to the 2 all elements
to the 2 all elements

4 months ago

Solved

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

4 months ago

Solved

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

4 months ago

Solved

Converts numbers into characters
Converts numbers into characters

4 months ago

Solved

Normalizing a vector

4 months ago

Solved

Digits Multiplication

5 months ago

Solved

Min-Max digit

5 months ago

Solved

triangle

7 months ago

Solved

Number Puzzle - 100

8 months ago