Cody

Problem 1548. Vector of numbers divisible by 3

Created by Marek Kuklis in Community
  • Input(n) - any integer
  • Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0

Examples:

  • n=6; v=[6 3]
  • n=-16; v=[-15 -12 -9 -6 -3]

Solution Stats

40.63% Correct | 59.38% Incorrect
Last solution submitted on Mar 14, 2019

Solution Comments