Problem 299. vectorization in N

For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

Solution Stats

65.57% Correct | 34.43% Incorrect
Last Solution submitted on Nov 02, 2019

Problem Comments

Solution Comments

Problem Recent Solvers193

Suggested Problems

More from this Author10

Problem Tags