+ import std.math; import std.typecons; - import std.math; /* Given a non-empty array of integers, return the sum of all of the odd elements that are in even positions. - - - Examples ? ---- + Examples - >>> solution([5L, 8L, 7L, 1L]) ? ---- + >>> solution([5L, 8L, 7L, 1L]) - 12L + 12L - >>> solution([3L, 3L, 3L, 3L, 3L]) ? ---- + >>> solution([3L, 3L, 3L, 3L, 3L]) - 9L + 9L - >>> solution([30L, 13L, 24L, 321L]) ? ---- + >>> solution([30L, 13L, 24L, 321L]) + 0L - 0L - */ long solution(long[] lst)