Community Profile # Peiyi Yao

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

3 months ago

Solved

System of Linear Equations

3 months ago

Solved

sign function

3 months ago

Solved

Summation of integers

3 months ago

Solved

imaginary

3 months ago

Solved

Real

3 months ago

Solved

area

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

3 months ago

Solved

Swap rows

3 months ago

Solved

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

3 months ago

Solved

easy problem
Find the last element of the array

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

Draw a '0' in a one matrix!

5 months ago

Solved

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

5 months ago

Solved

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

5 months ago

Solved

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

5 months ago

Solved

to the 2 all elements
to the 2 all elements

5 months ago

Solved

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

5 months ago

Solved

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

5 months ago

Solved

Converts numbers into characters
Converts numbers into characters

5 months ago

Solved

Normalizing a vector

5 months ago

Solved

Digits Multiplication

6 months ago

Solved

Min-Max digit

6 months ago

Solved

triangle

9 months ago

Solved

Number Puzzle - 100

9 months ago