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

66.23% Correct | 33.77% Incorrect
Last solution submitted on Jun 18, 2019

Problem Comments

Solution Comments