Community Profile

# Peiyi Yao

Last seen: 1 month ago Active since 2015

#### 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 = ...

1 month ago

Solved

System of Linear Equations

1 month ago

Solved

sign function

1 month ago

Solved

Summation of integers

1 month ago

Solved

imaginary

1 month ago

Solved

Real

1 month ago

Solved

area

1 month 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. ...

1 month ago

Solved

Swap rows

1 month ago

Solved

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

1 month ago

Solved

easy problem
Find the last element of the array

1 month ago

Solved

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

1 month ago

Solved

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

1 month 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

7 months ago

Solved

Number Puzzle - 100

7 months ago