Community Profile

photo

paul mary


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer
  • Thankful Level 1

View badges

Feeds

View by

Question


Find the first element that satisfy a condition in a vector
Hello! I have a homework: if v is [1 2 3 4 5 4 3 2 1] and n is 3, it will find 4 5 and 4 because their sum of 13 is the largest...

5 years ago | 2 answers | 0

2

answers

Question


use for loop to write a sum function to achieve halfsum
this is a task of mooc course, please help me. It spent me a lot of time.

5 years ago | 1 answer | 0

1

answer