Cody

Problem 299. vectorization in N

Created by Julio in Community

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.64% Correct | 34.36% Incorrect
Last solution submitted on Jul 11, 2019

Problem Comments

Solution Comments