Community Profile

photo

paul mary


Last seen: mer än 2 år ago Active since 2019

Statistics

  • Thankful Level 2
  • First Answer
  • Thankful Level 1

View badges

Content Feed

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 3 å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 4 år ago | 1 answer | 0

1

answer