photo

paul mary


Last seen: mer än 4 år 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...

mer än 5 år 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.

nästan 6 år ago | 1 answer | 0

1

answer