Cody

Problem 43135. Performance - summation

Given a vector of natural numbers

x = [1,2,3,...,N]

compute the sum of its elements by not stressing the machine too much :)

HINT: maybe sum(1:N) won't pass the test suite..

Solution Stats

58.49% Correct | 41.51% Incorrect
Last Solution submitted on Feb 25, 2020

Problem Recent Solvers29

Suggested Problems

More from this Author14

Problem Tags