Community Profile

photo

Alan Qiu


Last seen: bijna 2 jaar ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Solver

View badges

Feeds

View by

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

bijna 5 jaar ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

bijna 5 jaar ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

bijna 5 jaar ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

bijna 5 jaar ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

bijna 5 jaar ago